/*
 * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
 * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

/// \addtogroup u2w
/// @{
/// \file

#ifndef _OPCODES_H
#define _OPCODES_H

#include "Common.h"
#include <iomanip>

enum ConnectionType
{
    CONNECTION_TYPE_REALM       = 0,
    CONNECTION_TYPE_INSTANCE    = 1,
    MAX_CONNECTION_TYPES,

    CONNECTION_TYPE_DEFAULT     = -1
};

enum OpcodeMisc : uint32
{
    MAX_OPCODE                                        = 0x1FFF,
    NUM_OPCODE_HANDLERS                               = (MAX_OPCODE + 1),
    UNKNOWN_OPCODE                                    = (0xFFFF + 1),
    NULL_OPCODE                                       = 0xBADD
};

// CMSGs 6.1.2.19802
enum OpcodeClient : uint32
{
    CMSG_ACCEPT_GUILD_INVITE                          = 0x0B36,
    CMSG_ACCEPT_LEVEL_GRANT                           = 0x18F2,
    CMSG_ACCEPT_TRADE                                 = 0x0F07,
    CMSG_ACCEPT_WARGAME_INVITE                        = 0x0E3F,
    CMSG_ACTIVATE_TAXI                                = 0x1E83,
    CMSG_ADD_BATTLENET_FRIEND                         = 0x0335,
    CMSG_ADD_FRIEND                                   = 0x039E,
    CMSG_ADD_IGNORE                                   = 0x16A0,
    CMSG_ADD_TOY                                      = 0x1E48,
    CMSG_ALTER_APPEARANCE                             = 0x0F82,
    CMSG_AREA_SPIRIT_HEALER_QUERY                     = 0x1825,
    CMSG_AREA_SPIRIT_HEALER_QUEUE                     = 0x0E81,
    CMSG_AREA_TRIGGER                                 = 0x0BDB,
    CMSG_ATTACK_STOP                                  = 0x0A01,
    CMSG_ATTACK_SWING                                 = 0x0BF4,
    CMSG_AUCTION_HELLO_REQUEST                        = 0x1F82,
    CMSG_AUCTION_LIST_BIDDER_ITEMS                    = 0x1821,
    CMSG_AUCTION_LIST_ITEMS                           = 0x0CB6,
    CMSG_AUCTION_LIST_OWNER_ITEMS                     = 0x08A5,
    CMSG_AUCTION_LIST_PENDING_SALES                   = 0x0935,
    CMSG_AUCTION_PLACE_BID                            = 0x18F6,
    CMSG_AUCTION_REMOVE_ITEM                          = 0x1C32,
    CMSG_AUCTION_REPLICATE_ITEMS                      = 0x0E82,
    CMSG_AUCTION_SELL_ITEM                            = 0x0D25,
    CMSG_AUTH_CONTINUED_SESSION                       = 0x0376,
    CMSG_AUTH_SESSION                                 = 0x03DD,
    CMSG_AUTOBANK_ITEM                                = 0x043F,
    CMSG_AUTOBANK_REAGENT                             = 0x083F,
    CMSG_AUTOSTORE_BANK_ITEM                          = 0x0027,
    CMSG_AUTOSTORE_BANK_REAGENT                       = 0x0040,
    CMSG_AUTO_EQUIP_ITEM                              = 0x0423,
    CMSG_AUTO_EQUIP_ITEM_SLOT                         = 0x0838,
    CMSG_AUTO_STORE_BAG_ITEM                          = 0x0424,
    CMSG_BANKER_ACTIVATE                              = 0x0CA5,
    CMSG_BATTLEFIELD_LEAVE                            = 0x0272,
    CMSG_BATTLEFIELD_LIST                             = 0x0250,
    CMSG_BATTLEFIELD_PORT                             = 0x1D32,
    CMSG_BATTLEMASTER_HELLO                           = 0x1605,
    CMSG_BATTLEMASTER_JOIN                            = 0x1D36,
    CMSG_BATTLEMASTER_JOIN_ARENA                      = 0x0865,
    CMSG_BATTLEMASTER_JOIN_SKIRMISH                   = 0x1E01,
    CMSG_BATTLENET_CHALLENGE_RESPONSE                 = 0x0695,
    CMSG_BATTLE_PAY_ACK_FAILED_RESPONSE               = 0x0E3D,
    CMSG_BATTLE_PAY_CONFIRM_PURCHASE_RESPONSE         = 0x1A1F,
    CMSG_BATTLE_PAY_DISTRIBUTION_ASSIGN_TO_TARGET     = 0x0B1E,
    CMSG_BATTLE_PAY_GET_PRODUCT_LIST                  = 0x0A1D,
    CMSG_BATTLE_PAY_GET_PURCHASE_LIST                 = 0x1616,
    CMSG_BATTLE_PAY_START_PURCHASE                    = 0x173F,
    CMSG_BATTLE_PET_DELETE_PET                        = 0x07BD,
    CMSG_BATTLE_PET_DELETE_PET_CHEAT                  = 0x079D,
    CMSG_BATTLE_PET_MODIFY_NAME                       = 0x0B37,
    CMSG_BATTLE_PET_REQUEST_JOURNAL                   = 0x0F37,
    CMSG_BATTLE_PET_REQUEST_JOURNAL_LOCK              = 0x0396,
    CMSG_BATTLE_PET_SET_BATTLE_SLOT                   = 0x17BD,
    CMSG_BATTLE_PET_SET_FLAGS                         = 0x16BD,
    CMSG_BATTLE_PET_SUMMON                            = 0x0A9D,
    CMSG_BATTLE_PET_UPDATE_NOTIFY                     = 0x1A24,
    CMSG_BEGIN_TRADE                                  = 0x0E53,
    CMSG_BF_MGR_ENTRY_INVITE_RESPONSE                 = 0x0F36,
    CMSG_BF_MGR_QUEUE_EXIT_REQUEST                    = 0x0F96,
    CMSG_BF_MGR_QUEUE_INVITE_RESPONSE                 = 0x17BE,
    CMSG_BF_MGR_QUEUE_REQUEST                         = 0x1748,
    CMSG_BINDER_ACTIVATE                              = 0x1C71,
    CMSG_BLACK_MARKET_BID_ON_ITEM                     = 0x1822,
    CMSG_BLACK_MARKET_OPEN                            = 0x0F84,
    CMSG_BLACK_MARKET_REQUEST_ITEMS                   = 0x016D,
    CMSG_BUG_REPORT                                   = 0x0B96,
    CMSG_BUSY_TRADE                                   = 0x0E2B,
    CMSG_BUY_BACK_ITEM                                = 0x1E84,
    CMSG_BUY_BANK_SLOT                                = 0x1DE2,
    CMSG_BUY_ITEM                                     = 0x1CE5,
    CMSG_BUY_REAGENT_BANK                             = 0x1D75,
    CMSG_BUY_WOW_TOKEN_CONFIRM                        = 0x17B8,
    CMSG_BUY_WOW_TOKEN_START                          = 0x1A35,
    CMSG_CAGE_BATTLE_PET                              = 0x0AAB,
    CMSG_CALENDAR_ADD_EVENT                           = 0x0320,
    CMSG_CALENDAR_COMPLAIN                            = 0x1395,
    CMSG_CALENDAR_COPY_EVENT                          = 0x123F,
    CMSG_CALENDAR_EVENT_INVITE                        = 0x02B5,
    CMSG_CALENDAR_EVENT_MODERATOR_STATUS              = 0x03B8,
    CMSG_CALENDAR_EVENT_RSVP                          = 0x021E,
    CMSG_CALENDAR_EVENT_SIGN_UP                       = 0x0F3F,
    CMSG_CALENDAR_EVENT_STATUS                        = 0x13B8,
    CMSG_CALENDAR_GET                                 = 0x1A38,
    CMSG_CALENDAR_GET_EVENT                           = 0x13BD,
    CMSG_CALENDAR_GET_NUM_PENDING                     = 0x0BB6,
    CMSG_CALENDAR_GUILD_FILTER                        = 0x123D,
    CMSG_CALENDAR_REMOVE_EVENT                        = 0x023F,
    CMSG_CALENDAR_REMOVE_INVITE                       = 0x16B8,
    CMSG_CALENDAR_UPDATE_EVENT                        = 0x0F1E,
    CMSG_CANCEL_AURA                                  = 0x12FB,
    CMSG_CANCEL_AUTO_REPEAT_SPELL                     = 0x0821,
    CMSG_CANCEL_CAST                                  = 0x058A,
    CMSG_CANCEL_CHANNELLING                           = 0x0F71,
    CMSG_CANCEL_GROWTH_AURA                           = 0x0AA3,
    CMSG_CANCEL_MASTER_LOOT_ROLL                      = 0x06F9,
    CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS            = 0x018A,
    CMSG_CANCEL_MOUNT_AURA                            = 0x012D,
    CMSG_CANCEL_QUEUED_SPELL                          = 0x0EA2,
    CMSG_CANCEL_TEMP_ENCHANTMENT                      = 0x004E,
    CMSG_CANCEL_TRADE                                 = 0x0E0F,
    CMSG_CAN_DUEL                                     = 0x0A38,
    CMSG_CAST_SPELL                                   = 0x1274,
    CMSG_CHALLENGE_MODE_REQUEST_LEADERS               = 0x1017,
    CMSG_CHALLENGE_MODE_REQUEST_MAP_STATS             = 0x1503,
    CMSG_CHANGE_BAG_SLOT_FLAG                         = 0x0628,
    CMSG_CHANGE_MONUMENT_APPEARANCE                   = 0x1A48,
    CMSG_CHANGE_SUB_GROUP                             = 0x0AB7,
    CMSG_CHARACTER_RENAME_REQUEST                     = 0x0616,
    CMSG_CHAR_CUSTOMIZE                               = 0x0A3D,
    CMSG_CHAR_DELETE                                  = 0x12B8,
    CMSG_CHAR_RACE_OR_FACTION_CHANGE                  = 0x0F38,
    CMSG_CHAT_ADDON_MESSAGE_CHANNEL                   = 0x1199,
    CMSG_CHAT_ADDON_MESSAGE_GUILD                     = 0x1C3D,
    CMSG_CHAT_ADDON_MESSAGE_INSTANCE_CHAT             = 0x1D9A,
    CMSG_CHAT_ADDON_MESSAGE_OFFICER                   = 0x1C8D,
    CMSG_CHAT_ADDON_MESSAGE_PARTY                     = 0x1D89,
    CMSG_CHAT_ADDON_MESSAGE_RAID                      = 0x10F9,
    CMSG_CHAT_ADDON_MESSAGE_WHISPER                   = 0x10FD,
    CMSG_CHAT_CHANNEL_ANNOUNCEMENTS                   = 0x11B9,
    CMSG_CHAT_CHANNEL_BAN                             = 0x187E,
    CMSG_CHAT_CHANNEL_DECLINE_INVITE                  = 0x10D9,
    CMSG_CHAT_CHANNEL_DISPLAY_LIST                    = 0x119D,
    CMSG_CHAT_CHANNEL_INVITE                          = 0x142D,
    CMSG_CHAT_CHANNEL_KICK                            = 0x153D,
    CMSG_CHAT_CHANNEL_LIST                            = 0x1999,
    CMSG_CHAT_CHANNEL_MODERATE                        = 0x1C8E,
    CMSG_CHAT_CHANNEL_MODERATOR                       = 0x152D,
    CMSG_CHAT_CHANNEL_MUTE                            = 0x1909,
    CMSG_CHAT_CHANNEL_OWNER                           = 0x15ED,
    CMSG_CHAT_CHANNEL_PASSWORD                        = 0x193A,
    CMSG_CHAT_CHANNEL_SET_OWNER                       = 0x14CA,
    CMSG_CHAT_CHANNEL_SILENCE_ALL                     = 0x141E,
    CMSG_CHAT_CHANNEL_SILENCE_VOICE                   = 0x148E,
    CMSG_CHAT_CHANNEL_UNBAN                           = 0x155D,
    CMSG_CHAT_CHANNEL_UNMODERATOR                     = 0x10AE,
    CMSG_CHAT_CHANNEL_UNMUTE                          = 0x109A,
    CMSG_CHAT_CHANNEL_UNSILENCE_ALL                   = 0x11FE,
    CMSG_CHAT_CHANNEL_UNSILENCE_VOICE                 = 0x10FE,
    CMSG_CHAT_CHANNEL_VOICE_OFF                       = 0x103E,
    CMSG_CHAT_CHANNEL_VOICE_ON                        = 0x1419,
    CMSG_CHAT_JOIN_CHANNEL                            = 0x152A,
    CMSG_CHAT_LEAVE_CHANNEL                           = 0x113D,
    CMSG_CHAT_MESSAGE_AFK                             = 0x185E,
    CMSG_CHAT_MESSAGE_CHANNEL                         = 0x1D8A,
    CMSG_CHAT_MESSAGE_DND                             = 0x183E,
    CMSG_CHAT_MESSAGE_EMOTE                           = 0x1DAA,
    CMSG_CHAT_MESSAGE_GUILD                           = 0x14E9,
    CMSG_CHAT_MESSAGE_INSTANCE_CHAT                   = 0x14FD,
    CMSG_CHAT_MESSAGE_OFFICER                         = 0x155A,
    CMSG_CHAT_MESSAGE_PARTY                           = 0x14BA,
    CMSG_CHAT_MESSAGE_RAID                            = 0x1CAA,
    CMSG_CHAT_MESSAGE_RAID_WARNING                    = 0x147A,
    CMSG_CHAT_MESSAGE_SAY                             = 0x192A,
    CMSG_CHAT_MESSAGE_WHISPER                         = 0x103A,
    CMSG_CHAT_MESSAGE_YELL                            = 0x1CB9,
    CMSG_CHAT_REGISTER_ADDON_PREFIXES                 = 0x1D2A,
    CMSG_CHAT_REPORT_FILTERED                         = 0x159E,
    CMSG_CHAT_REPORT_IGNORED                          = 0x151A,
    CMSG_CHAT_UNREGISTER_ALL_ADDON_PREFIXES           = 0x15FA,
    CMSG_CHECK_RAF_EMAIL_ENABLED                      = 0x1620,
    CMSG_CHECK_WOW_TOKEN_VETERAN_ELIGIBILITY          = 0x0337,
    CMSG_CHOICE_RESPONSE                              = 0x1FCF,
    CMSG_CLEAR_RAID_MARKER                            = 0x0FDB,
    CMSG_CLEAR_TRADE_ITEM                             = 0x0F7B,
    CMSG_CLIENT_PORT_GRAVEYARD                        = 0x0C65,
    CMSG_CLOSE_INTERACTION                            = 0x1C36,
    CMSG_COMMENTATOR_ENABLE                           = 0x073F,
    CMSG_COMMENTATOR_ENTER_INSTANCE                   = 0x03BD,
    CMSG_COMMENTATOR_EXIT_INSTANCE                    = 0x0698,
    CMSG_COMMENTATOR_GET_MAP_INFO                     = 0x1A40,
    CMSG_COMMENTATOR_GET_PLAYER_INFO                  = 0x171F,
    CMSG_COMMENTATOR_START_WARGAME                    = 0x0637,
    CMSG_COMPLAINT                                    = 0x0F40,
    CMSG_COMPLETE_ALL_READY_SHIPMENTS                 = 0x0F06,
    CMSG_COMPLETE_CINEMATIC                           = 0x0CF2,
    CMSG_COMPLETE_MOVIE                               = 0x1E0A,
    CMSG_CONFIRM_RESPEC_WIPE                          = 0x1226,
    CMSG_CONNECT_TO_FAILED                            = 0x0736,
    CMSG_CONVERT_RAID                                 = 0x0A98,
    CMSG_CREATE_CHARACTER                             = 0x1636,
    CMSG_CREATE_SHIPMENT                              = 0x010E,
    CMSG_DB_QUERY_BULK                                = 0x039F,
    CMSG_DECLINE_GUILD_INVITES                        = 0x09B1,
    CMSG_DECLINE_PETITION                             = 0x1D66,
    CMSG_DELETE_EQUIPMENT_SET                         = 0x014A,
    CMSG_DEL_FRIEND                                   = 0x163F,
    CMSG_DEL_IGNORE                                   = 0x03C0,
    CMSG_DEPOSIT_REAGENT_BANK                         = 0x002A,
    CMSG_DESTROY_ITEM                                 = 0x0A72,
    CMSG_DF_BOOT_PLAYER_VOTE                          = 0x0EBF,
    CMSG_DF_GET_JOIN_STATUS                           = 0x1236,
    CMSG_DF_GET_SYSTEM_INFO                           = 0x1298,
    CMSG_DF_JOIN                                      = 0x1237,
    CMSG_DF_LEAVE                                     = 0x029D,
    CMSG_DF_PROPOSAL_RESPONSE                         = 0x0795,
    CMSG_DF_READY_CHECK_RESPONSE                      = 0x06A0,
    CMSG_DF_SEARCH_JOIN                               = 0x1797,
    CMSG_DF_SEARCH_LEAVE                              = 0x0EB7,
    CMSG_DF_SET_COMMENT                               = 0x0615,
    CMSG_DF_SET_ROLES                                 = 0x0297,
    CMSG_DF_TELEPORT                                  = 0x0FB7,
    CMSG_DISCARDED_TIME_SYNC_ACKS                     = 0x0103,
    CMSG_DISMISS_CRITTER                              = 0x1D21,
    CMSG_DO_MASTER_LOOT_ROLL                          = 0x0409,
    CMSG_DO_READY_CHECK                               = 0x139E,
    CMSG_DUEL_RESPONSE                                = 0x0C62,
    CMSG_EJECT_PASSENGER                              = 0x1AD0,
    CMSG_EMOTE                                        = 0x0E03,
    CMSG_ENABLE_NAGLE                                 = 0x0B55,
    CMSG_ENABLE_TAXI_NODE                             = 0x0926,
    CMSG_ENGINE_SURVEY                                = 0x0FA0,
    CMSG_ENUM_CHARACTERS                              = 0x1696,
    CMSG_ENUM_CHARACTERS_DELETED_BY_CLIENT            = 0x1216,
    CMSG_FAR_SIGHT                                    = 0x00EE,
    CMSG_GAME_OBJ_REPORT_USE                          = 0x18B2,
    CMSG_GAME_OBJ_USE                                 = 0x08B1,
    CMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING         = 0x0651,
    CMSG_GARRISON_CANCEL_CONSTRUCTION                 = 0x1A02,
    CMSG_GARRISON_CHECK_UPGRADEABLE                   = 0x12FA,
    CMSG_GARRISON_COMPLETE_MISSION                    = 0x0BA2,
    CMSG_GARRISON_GENERATE_RECRUITS                   = 0x0FFA,
    CMSG_GARRISON_GET_BUILDING_LANDMARKS              = 0x0EFC,
    CMSG_GARRISON_MISSION_BONUS_ROLL                  = 0x07D2,
    CMSG_GARRISON_PURCHASE_BUILDING                   = 0x1208,
    CMSG_GARRISON_RECRUIT_FOLLOWER                    = 0x0E21,
    CMSG_GARRISON_REMOVE_FOLLOWER                     = 0x0374,
    CMSG_GARRISON_REMOVE_FOLLOWER_FROM_BUILDING       = 0x035B,
    CMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA = 0x1B8C,
    CMSG_GARRISON_REQUEST_LANDING_PAGE_SHIPMENT_INFO  = 0x06DA,
    CMSG_GARRISON_REQUEST_SHIPMENT_INFO               = 0x03FA,
    CMSG_GARRISON_SET_BUILDING_ACTIVE                 = 0x16CF,
    CMSG_GARRISON_SET_FOLLOWER_FAVORITE               = 0x0BDA,
    CMSG_GARRISON_SET_FOLLOWER_INACTIVE               = 0x0AC8,
    CMSG_GARRISON_SET_RECRUITMENT_PREFERENCES         = 0x020D,
    CMSG_GARRISON_START_MISSION                       = 0x0E0E,
    CMSG_GARRISON_SWAP_BUILDINGS                      = 0x0ADB,
    CMSG_GENERATE_RANDOM_CHARACTER_NAME               = 0x0B3E,
    CMSG_GET_CHALLENGE_MODE_REWARDS                   = 0x1118,
    CMSG_GET_GARRISON_INFO                            = 0x072D,
    CMSG_GET_ITEM_PURCHASE_DATA                       = 0x016E,
    CMSG_GET_MIRROR_IMAGE_DATA                        = 0x0E74,
    CMSG_GET_PVP_OPTIONS_ENABLED                      = 0x029E,
    CMSG_GET_REMAINING_GAME_TIME                      = 0x0696,
    CMSG_GET_TROPHY_LIST                              = 0x17D0,
    CMSG_GET_UNDELETE_CHARACTER_COOLDOWN_STATUS       = 0x063D,
    CMSG_GM_LAG_REPORT                                = 0x0B3F,
    CMSG_GM_SURVEY_SUBMIT                             = 0x0E15,
    CMSG_GM_TICKET_ACKNOWLEDGE_SURVEY                 = 0x0FBE,
    CMSG_GM_TICKET_CREATE                             = 0x0A1E,
    CMSG_GM_TICKET_DELETE_TICKET                      = 0x129E,
    CMSG_GM_TICKET_GET_CASE_STATUS                    = 0x1A3F,
    CMSG_GM_TICKET_GET_SYSTEM_STATUS                  = 0x0A18,
    CMSG_GM_TICKET_GET_TICKET                         = 0x0717,
    CMSG_GM_TICKET_RESPONSE_RESOLVE                   = 0x0217,
    CMSG_GM_TICKET_UPDATE_TEXT                        = 0x13A0,
    CMSG_GOSSIP_SELECT_OPTION                         = 0x1E0C,
    CMSG_GRANT_LEVEL                                  = 0x1DF1,
    CMSG_GUILD_ADD_BATTLENET_FRIEND                   = 0x1C07,
    CMSG_GUILD_ADD_RANK                               = 0x1953,
    CMSG_GUILD_ASSIGN_MEMBER_RANK                     = 0x1844,
    CMSG_GUILD_AUTO_DECLINE_INVITATION                = 0x1853,
    CMSG_GUILD_BANK_ACTIVATE                          = 0x0DE2,
    CMSG_GUILD_BANK_BUY_TAB                           = 0x0F09,
    CMSG_GUILD_BANK_DEPOSIT_MONEY                     = 0x0832,
    CMSG_GUILD_BANK_LOG_QUERY                         = 0x1973,
    CMSG_GUILD_BANK_QUERY_TAB                         = 0x1DE5,
    CMSG_GUILD_BANK_REMAINING_WITHDRAW_MONEY_QUERY    = 0x1417,
    CMSG_GUILD_BANK_SET_TAB_TEXT                      = 0x1917,
    CMSG_GUILD_BANK_SWAP_ITEMS                        = 0x1C75,
    CMSG_GUILD_BANK_TEXT_QUERY                        = 0x1914,
    CMSG_GUILD_BANK_UPDATE_TAB                        = 0x1F09,
    CMSG_GUILD_BANK_WITHDRAW_MONEY                    = 0x1D61,
    CMSG_GUILD_CHALLENGE_UPDATE_REQUEST               = 0x1817,
    CMSG_GUILD_CHANGE_NAME_REQUEST                    = 0x1527,
    CMSG_GUILD_DECLINE_INVITATION                     = 0x1967,
    CMSG_GUILD_DELETE                                 = 0x1473,
    CMSG_GUILD_DELETE_RANK                            = 0x1864,
    CMSG_GUILD_DEMOTE_MEMBER                          = 0x1453,
    CMSG_GUILD_EVENT_LOG_QUERY                        = 0x1933,
    CMSG_GUILD_GET_ACHIEVEMENT_MEMBERS                = 0x1833,
    CMSG_GUILD_GET_RANKS                              = 0x1533,
    CMSG_GUILD_GET_ROSTER                             = 0x1434,
    CMSG_GUILD_INVITE_BY_NAME                         = 0x0716,
    CMSG_GUILD_LEAVE                                  = 0x1168,
    CMSG_GUILD_MEMBER_SEND_SOR_REQUEST                = 0x1138,
    CMSG_GUILD_NEWS_UPDATE_STICKY                     = 0x1538,
    CMSG_GUILD_OFFICER_REMOVE_MEMBER                  = 0x1928,
    CMSG_GUILD_PERMISSIONS_QUERY                      = 0x1878,
    CMSG_GUILD_PROMOTE_MEMBER                         = 0x1147,
    CMSG_GUILD_QUERY_MEMBERS_FOR_RECIPE               = 0x1C13,
    CMSG_GUILD_QUERY_MEMBER_RECIPES                   = 0x1063,
    CMSG_GUILD_QUERY_NEWS                             = 0x1573,
    CMSG_GUILD_QUERY_RECIPES                          = 0x1843,
    CMSG_GUILD_REPLACE_GUILD_MASTER                   = 0x1923,
    CMSG_GUILD_SET_ACHIEVEMENT_TRACKING               = 0x1977,
    CMSG_GUILD_SET_FOCUSED_ACHIEVEMENT                = 0x1167,
    CMSG_GUILD_SET_GUILD_MASTER                       = 0x1316,
    CMSG_GUILD_SET_MEMBER_NOTE                        = 0x1427,
    CMSG_GUILD_SET_RANK_PERMISSIONS                   = 0x1053,
    CMSG_GUILD_SHIFT_RANK                             = 0x1458,
    CMSG_GUILD_UPDATE_INFO_TEXT                       = 0x1507,
    CMSG_GUILD_UPDATE_MOTD_TEXT                       = 0x1C08,
    CMSG_HEARTH_AND_RESURRECT                         = 0x0E0C,
    CMSG_IGNORE_TRADE                                 = 0x1A08,
    CMSG_INCREASE_CAST_TIME_FOR_SPELL                 = 0x0F5B,
    CMSG_INITIATE_ROLE_POLL                           = 0x071E,
    CMSG_INITIATE_TRADE                               = 0x1A8C,
    CMSG_INSPECT                                      = 0x1C21,
    CMSG_INSPECT_PVP                                  = 0x0A9E,
    CMSG_INSTANCE_LOCK_RESPONSE                       = 0x1DE6,
    CMSG_ITEM_PURCHASE_REFUND                         = 0x08B2,
    CMSG_ITEM_TEXT_QUERY                              = 0x037B,
    CMSG_JOIN_PET_BATTLE_QUEUE                        = 0x0F2A,
    CMSG_JOIN_RATED_BATTLEGROUND                      = 0x01AA,
    CMSG_KEEP_ALIVE                                   = 0x1737,
    CMSG_KEYBOUND_OVERRIDE                            = 0x0ADA,
    CMSG_LEARN_PET_SPECIALIZATION_GROUP               = 0x06FA,
    CMSG_LEARN_TALENTS                                = 0x0AAA,
    CMSG_LEAVE_GROUP                                  = 0x179E,
    CMSG_LEAVE_PET_BATTLE_QUEUE                       = 0x0751,
    CMSG_LFG_LIST_APPLY_TO_GROUP                      = 0x061F,
    CMSG_LFG_LIST_CANCEL_APPLICATION                  = 0x0BB7,
    CMSG_LFG_LIST_DECLINE_APPLICANT                   = 0x17B6,
    CMSG_LFG_LIST_GET_STATUS                          = 0x0338,
    CMSG_LFG_LIST_INVITE_APPLICANT                    = 0x0A3F,
    CMSG_LFG_LIST_INVITE_RESPONSE                     = 0x0720,
    CMSG_LFG_LIST_JOIN                                = 0x13B6,
    CMSG_LFG_LIST_LEAVE                               = 0x0B20,
    CMSG_LFG_LIST_SEARCH                              = 0x1A1D,
    CMSG_LFG_LIST_UPDATE_REQUEST                      = 0x12B7,
    CMSG_LF_GUILD_ADD_RECRUIT                         = 0x0B9F,
    CMSG_LF_GUILD_BROWSE                              = 0x1A37,
    CMSG_LF_GUILD_DECLINE_RECRUIT                     = 0x1023,
    CMSG_LF_GUILD_GET_APPLICATIONS                    = 0x1548,
    CMSG_LF_GUILD_GET_GUILD_POST                      = 0x1054,
    CMSG_LF_GUILD_GET_RECRUITS                        = 0x1464,
    CMSG_LF_GUILD_REMOVE_RECRUIT                      = 0x1803,
    CMSG_LF_GUILD_SET_GUILD_POST                      = 0x121F,
    CMSG_LIST_INVENTORY                               = 0x1922,
    CMSG_LOADING_SCREEN_NOTIFY                        = 0x13C0,
    CMSG_LOAD_SELECTED_TROPHY                         = 0x0F47,
    CMSG_LOGOUT_CANCEL                                = 0x0F8C,
    CMSG_LOGOUT_INSTANT                               = 0x1CA5,
    CMSG_LOGOUT_REQUEST                               = 0x0CA6,
    CMSG_LOG_DISCONNECT                               = 0x12D5,
    CMSG_LOG_STREAMING_ERROR                          = 0x12D6,
    CMSG_LOOT_ITEM                                    = 0x1BAC,
    CMSG_LOOT_MONEY                                   = 0x050A,
    CMSG_LOOT_RELEASE                                 = 0x1A25,
    CMSG_LOOT_ROLL                                    = 0x1F23,
    CMSG_LOOT_UNIT                                    = 0x0BF1,
    CMSG_LOW_LEVEL_RAID1                              = 0x02C0,
    CMSG_LOW_LEVEL_RAID2                              = 0x0F0B,
    CMSG_MAIL_CREATE_TEXT_ITEM                        = 0x0149,
    CMSG_MAIL_DELETE                                  = 0x0A73,
    CMSG_MAIL_GET_LIST                                = 0x1F04,
    CMSG_MAIL_MARK_AS_READ                            = 0x1C31,
    CMSG_MAIL_RETURN_TO_SENDER                        = 0x02A0,
    CMSG_MAIL_TAKE_ITEM                               = 0x0975,
    CMSG_MAIL_TAKE_MONEY                              = 0x0871,
    CMSG_MASTER_LOOT_ITEM                             = 0x06D9,
    CMSG_MINIMAP_PING                                 = 0x1218,
    CMSG_MISSILE_TRAJECTORY_COLLISION                 = 0x0B74,
    CMSG_MOUNT_SET_FAVORITE                           = 0x061E,
    CMSG_MOUNT_SPECIAL_ANIM                           = 0x02D1,
    CMSG_MOVE_APPLY_MOVEMENT_FORCE_ACK                = 0x090F,
    CMSG_MOVE_CHANGE_TRANSPORT                        = 0x044F,
    CMSG_MOVE_CHANGE_VEHICLE_SEATS                    = 0x0404,
    CMSG_MOVE_CHARM_TELEPORT_CHEAT                    = 0x055B,
    CMSG_MOVE_DISMISS_VEHICLE                         = 0x085F,
    CMSG_MOVE_ENABLE_SWIM_TO_FLY_TRANS_ACK            = 0x0944,
    CMSG_MOVE_FALL_LAND                               = 0x095F,
    CMSG_MOVE_FALL_RESET                              = 0x0448,
    CMSG_MOVE_FEATHER_FALL_ACK                        = 0x0120,
    CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK      = 0x0148,
    CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK           = 0x004F,
    CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK             = 0x0410,
    CMSG_MOVE_FORCE_ROOT_ACK                          = 0x0008,
    CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK         = 0x044C,
    CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK              = 0x0407,
    CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK        = 0x0110,
    CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK             = 0x0517,
    CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK              = 0x014C,
    CMSG_MOVE_FORCE_UNROOT_ACK                        = 0x054C,
    CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK             = 0x0813,
    CMSG_MOVE_GRAVITY_DISABLE_ACK                     = 0x050B,
    CMSG_MOVE_GRAVITY_ENABLE_ACK                      = 0x0017,
    CMSG_MOVE_HEARTBEAT                               = 0x055C,
    CMSG_MOVE_HOVER_ACK                               = 0x0860,
    CMSG_MOVE_JUMP                                    = 0x0158,
    CMSG_MOVE_KNOCK_BACK_ACK                          = 0x040F,
    CMSG_MOVE_REMOVE_MOVEMENT_FORCES                  = 0x0913,
    CMSG_MOVE_REMOVE_MOVEMENT_FORCE_ACK               = 0x090C,
    CMSG_MOVE_SET_CAN_FLY_ACK                         = 0x0C03,
    CMSG_MOVE_SET_CAN_TURN_WHILE_FALLING_ACK          = 0x054F,
    CMSG_MOVE_SET_COLLISION_HEIGHT_ACK                = 0x0018,
    CMSG_MOVE_SET_FACING                              = 0x0803,
    CMSG_MOVE_SET_FLY                                 = 0x010C,
    CMSG_MOVE_SET_IGNORE_MOVEMENT_FORCES_ACK          = 0x0557,
    CMSG_MOVE_SET_PITCH                               = 0x080F,
    CMSG_MOVE_SET_RELATIVE_POSITION                   = 0x051B,
    CMSG_MOVE_SET_RUN_MODE                            = 0x0053,
    CMSG_MOVE_SET_VEHICLE_REC_ID_ACK                  = 0x091B,
    CMSG_MOVE_SET_WALK_MODE                           = 0x0843,
    CMSG_MOVE_SPLINE_DONE                             = 0x0514,
    CMSG_MOVE_START_ASCEND                            = 0x0510,
    CMSG_MOVE_START_BACKWARD                          = 0x0147,
    CMSG_MOVE_START_DESCEND                           = 0x0117,
    CMSG_MOVE_START_FORWARD                           = 0x0004,
    CMSG_MOVE_START_PITCH_DOWN                        = 0x004B,
    CMSG_MOVE_START_PITCH_UP                          = 0x0450,
    CMSG_MOVE_START_STRAFE_LEFT                       = 0x0844,
    CMSG_MOVE_START_STRAFE_RIGHT                      = 0x0957,
    CMSG_MOVE_START_SWIM                              = 0x0157,
    CMSG_MOVE_START_TURN_LEFT                         = 0x0918,
    CMSG_MOVE_START_TURN_RIGHT                        = 0x094B,
    CMSG_MOVE_STOP                                    = 0x044B,
    CMSG_MOVE_STOP_ASCEND                             = 0x011C,
    CMSG_MOVE_STOP_PITCH                              = 0x045B,
    CMSG_MOVE_STOP_STRAFE                             = 0x084B,
    CMSG_MOVE_STOP_SWIM                               = 0x081B,
    CMSG_MOVE_STOP_TURN                               = 0x0854,
    CMSG_MOVE_TELEPORT_ACK                            = 0x0520,
    CMSG_MOVE_TELEPORT_CHEAT                          = 0x0C0B,
    CMSG_MOVE_TIME_SKIPPED                            = 0x0903,
    CMSG_MOVE_TOGGLE_COLLISION_CHEAT                  = 0x0548,
    CMSG_MOVE_WATER_WALK_ACK                          = 0x0C07,
    CMSG_NEUTRAL_PLAYER_SELECT_FACTION                = 0x0EC8,
    CMSG_NEXT_CINEMATIC_CAMERA                        = 0x0CE1,
    CMSG_OBJECT_UPDATE_FAILED                         = 0x0B2D,
    CMSG_OBJECT_UPDATE_RESCUED                        = 0x0A89,
    CMSG_OFFER_PETITION                               = 0x1A17,
    CMSG_OPENING_CINEMATIC                            = 0x0E0A,
    CMSG_OPEN_ITEM                                    = 0x0354,
    CMSG_OPEN_MISSION_NPC                             = 0x0BA9,
    CMSG_OPEN_SHIPMENT_NPC                            = 0x074F,
    CMSG_OPEN_TRADESKILL_NPC                          = 0x06DB,
    CMSG_OPT_OUT_OF_LOOT                              = 0x1F89,
    CMSG_PARTY_INVITE                                 = 0x12BD,
    CMSG_PARTY_INVITE_RESPONSE                        = 0x16BF,
    CMSG_PARTY_UNINVITE                               = 0x02B6,
    CMSG_PETITION_BUY                                 = 0x1872,
    CMSG_PETITION_RENAME_GUILD                        = 0x0E37,
    CMSG_PETITION_SHOW_LIST                           = 0x0CF5,
    CMSG_PETITION_SHOW_SIGNATURES                     = 0x09B6,
    CMSG_PET_ABANDON                                  = 0x09E1,
    CMSG_PET_ACTION                                   = 0x09F5,
    CMSG_PET_BATTLE_FINAL_NOTIFY                      = 0x030D,
    CMSG_PET_BATTLE_INPUT                             = 0x071F,
    CMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH_RESULT        = 0x1ACF,
    CMSG_PET_BATTLE_QUIT_NOTIFY                       = 0x0B03,
    CMSG_PET_BATTLE_REPLACE_FRONT_PET                 = 0x0B35,
    CMSG_PET_BATTLE_REQUEST_PVP                       = 0x16C8,
    CMSG_PET_BATTLE_REQUEST_UPDATE                    = 0x0A5B,
    CMSG_PET_BATTLE_REQUEST_WILD                      = 0x1FAC,
    CMSG_PET_BATTLE_SCRIPT_ERROR_NOTIFY               = 0x0EAB,
    CMSG_PET_CANCEL_AURA                              = 0x01E9,
    CMSG_PET_CAST_SPELL                               = 0x1B0A,
    CMSG_PET_RENAME                                   = 0x1618,
    CMSG_PET_SET_ACTION                               = 0x0C75,
    CMSG_PET_SPELL_AUTOCAST                           = 0x0CE5,
    CMSG_PET_STOP_ATTACK                              = 0x09A6,
    CMSG_PING                                         = 0x12DE,
    CMSG_PLAYER_LOGIN                                 = 0x0E98,
    CMSG_PROTOCOL_MISMATCH                            = 0x0356,
    CMSG_PUSH_QUEST_TO_PARTY                          = 0x0DE1,
    CMSG_PVP_LOG_DATA                                 = 0x0E08,
    CMSG_QUERY_BATTLE_PET_NAME                        = 0x0AFC,
    CMSG_QUERY_CORPSE_LOCATION_FROM_CLIENT            = 0x03B7,
    CMSG_QUERY_CORPSE_TRANSPORT                       = 0x1215,
    CMSG_QUERY_COUNTDOWN_TIMER                        = 0x06F1,
    CMSG_QUERY_CREATURE                               = 0x0FD3,
    CMSG_QUERY_GAME_OBJECT                            = 0x06C8,
    CMSG_QUERY_GARRISON_CREATURE_NAME                 = 0x0F28,
    CMSG_QUERY_GUILD_INFO                             = 0x12BE,
    CMSG_QUERY_INSPECT_ACHIEVEMENTS                   = 0x014E,
    CMSG_QUERY_NEXT_MAIL_TIME                         = 0x08B6,
    CMSG_QUERY_NPC_TEXT                               = 0x1E24,
    CMSG_QUERY_PAGE_TEXT                              = 0x1AA2,
    CMSG_QUERY_PETITION                               = 0x0FAC,
    CMSG_QUERY_PET_NAME                               = 0x0E30,
    CMSG_QUERY_PLAYER_NAME                            = 0x0BBD,
    CMSG_QUERY_QUEST_COMPLETION_NPCS                  = 0x0489,
    CMSG_QUERY_QUEST_INFO                             = 0x0FA9,
    CMSG_QUERY_REALM_NAME                             = 0x0F9F,
    CMSG_QUERY_SCENARIO_POI                           = 0x161D,
    CMSG_QUERY_TIME                                   = 0x0F0A,
    CMSG_QUERY_VOID_STORAGE                           = 0x03D3,
    CMSG_QUEST_CONFIRM_ACCEPT                         = 0x08A1,
    CMSG_QUEST_GIVER_ACCEPT_QUEST                     = 0x1865,
    CMSG_QUEST_GIVER_CHOOSE_REWARD                    = 0x0DA2,
    CMSG_QUEST_GIVER_COMPLETE_QUEST                   = 0x0CE6,
    CMSG_QUEST_GIVER_HELLO                            = 0x01CE,
    CMSG_QUEST_GIVER_QUERY_QUEST                      = 0x0DA6,
    CMSG_QUEST_GIVER_REQUEST_REWARD                   = 0x19F6,
    CMSG_QUEST_GIVER_STATUS_MULTIPLE_QUERY            = 0x0DA5,
    CMSG_QUEST_GIVER_STATUS_QUERY                     = 0x0836,
    CMSG_QUEST_LOG_REMOVE_QUEST                       = 0x1DE1,
    CMSG_QUEST_POI_QUERY                              = 0x1240,
    CMSG_QUEST_PUSH_RESULT                            = 0x1F81,
    CMSG_QUEUED_MESSAGES_END                          = 0x027E,
    CMSG_RANDOM_ROLL                                  = 0x179F,
    CMSG_READY_CHECK_RESPONSE                         = 0x07B5,
    CMSG_READ_ITEM                                    = 0x042A,
    CMSG_RECLAIM_CORPSE                               = 0x0DB1,
    CMSG_RECRUIT_A_FRIEND                             = 0x0F3E,
    CMSG_REDEEM_WOW_TOKEN_CONFIRM                     = 0x06BD,
    CMSG_REDEEM_WOW_TOKEN_START                       = 0x03B5,
    CMSG_REORDER_CHARACTERS                           = 0x17B7,
    CMSG_REPAIR_ITEM                                  = 0x19A2,
    CMSG_REPLACE_TROPHY                               = 0x0605,
    CMSG_REPOP_REQUEST                                = 0x0D36,
    CMSG_REPORT_PVP_PLAYER_AFK                        = 0x0F0C,
    CMSG_REQUEST_ACCOUNT_DATA                         = 0x0798,
    CMSG_REQUEST_BATTLEFIELD_STATUS                   = 0x039D,
    CMSG_REQUEST_CATEGORY_COOLDOWNS                   = 0x0ED3,
    CMSG_REQUEST_CEMETERY_LIST                        = 0x0FD0,
    CMSG_REQUEST_CONQUEST_FORMULA_CONSTANTS           = 0x1B8A,
    CMSG_REQUEST_FORCED_REACTIONS                     = 0x1AAC,
    CMSG_REQUEST_GUILD_PARTY_STATE                    = 0x0B5B,
    CMSG_REQUEST_GUILD_REWARDS_LIST                   = 0x0F2F,
    CMSG_REQUEST_HONOR_STATS                          = 0x1207,
    CMSG_REQUEST_LFG_LIST_BLACKLIST                   = 0x0A02,
    CMSG_REQUEST_PARTY_JOIN_UPDATES                   = 0x0620,
    CMSG_REQUEST_PARTY_MEMBER_STATS                   = 0x0EB8,
    CMSG_REQUEST_PET_INFO                             = 0x19F5,
    CMSG_REQUEST_PLAYED_TIME                          = 0x0750,
    CMSG_REQUEST_PVP_REWARDS                          = 0x06DC,
    CMSG_REQUEST_RAID_INFO                            = 0x0A96,
    CMSG_REQUEST_RATED_BATTLEFIELD_INFO               = 0x0A40,
    CMSG_REQUEST_RESEARCH_HISTORY                     = 0x0EA9,
    CMSG_REQUEST_STABLED_PETS                         = 0x01CA,
    CMSG_REQUEST_VEHICLE_EXIT                         = 0x054D,
    CMSG_REQUEST_VEHICLE_NEXT_SEAT                    = 0x0FA3,
    CMSG_REQUEST_VEHICLE_PREV_SEAT                    = 0x1E2A,
    CMSG_REQUEST_VEHICLE_SWITCH_SEAT                  = 0x0E7C,
    CMSG_REQUEST_WOW_TOKEN_MARKET_PRICE               = 0x0718,
    CMSG_RESET_CHALLENGE_MODE                         = 0x1248,
    CMSG_RESET_INSTANCES                              = 0x0A97,
    CMSG_RESURRECT_RESPONSE                           = 0x033E,
    CMSG_REVERT_MONUMENT_APPEARANCE                   = 0x0679,
    CMSG_RIDE_VEHICLE_INTERACT                        = 0x1ED0,
    CMSG_SAVE_CUF_PROFILES                            = 0x0EC7,
    CMSG_SAVE_EQUIPMENT_SET                           = 0x09E2,
    CMSG_SAVE_GUILD_EMBLEM                            = 0x0B0C,
    CMSG_SCENE_PLAYBACK_CANCELED                      = 0x0A8C,
    CMSG_SCENE_PLAYBACK_COMPLETE                      = 0x0BD0,
    CMSG_SCENE_TRIGGER_EVENT                          = 0x0589,
    CMSG_SELF_RES                                     = 0x1E0B,
    CMSG_SELL_ITEM                                    = 0x1931,
    CMSG_SELL_WOW_TOKEN_CONFIRM                       = 0x031E,
    CMSG_SELL_WOW_TOKEN_START                         = 0x0FB8,
    CMSG_SEND_CONTACT_LIST                            = 0x0EC0,
    CMSG_SEND_MAIL                                    = 0x0240,
    CMSG_SEND_SOR_REQUEST_VIA_ADDRESS                 = 0x1335,
    CMSG_SEND_SOR_REQUEST_VIA_BNET_ACCOUNT_ID         = 0x0AB5,
    CMSG_SEND_TEXT_EMOTE                              = 0x01EE,
    CMSG_SET_ACHIEVEMENTS_HIDDEN                      = 0x16D0,
    CMSG_SET_ACTION_BAR_TOGGLES                       = 0x0F81,
    CMSG_SET_ACTION_BUTTON                            = 0x133F,
    CMSG_SET_ACTIVE_MOVER                             = 0x0108,
    CMSG_SET_ACTIVE_VOICE_CHANNEL                     = 0x0298,
    CMSG_SET_ADVANCED_COMBAT_LOGGING                  = 0x035A,
    CMSG_SET_ASSISTANT_LEADER                         = 0x0395,
    CMSG_SET_BACKPACK_AUTOSORT_DISABLED               = 0x0AF9,
    CMSG_SET_BANK_AUTOSORT_DISABLED                   = 0x0BA3,
    CMSG_SET_BANK_BAG_SLOT_FLAG                       = 0x0B72,
    CMSG_SET_CONTACT_NOTES                            = 0x0B3D,
    CMSG_SET_CURRENCY_FLAGS                           = 0x065C,
    CMSG_SET_DIFFICULTY_ID                            = 0x0BD3,
    CMSG_SET_DUNGEON_DIFFICULTY                       = 0x0E16,
    CMSG_SET_EVERYONE_IS_ASSISTANT                    = 0x1716,
    CMSG_SET_FACTION_AT_WAR                           = 0x1C66,
    CMSG_SET_FACTION_INACTIVE                         = 0x1862,
    CMSG_SET_FACTION_NOT_AT_WAR                       = 0x0DF2,
    CMSG_SET_INSERT_ITEMS_LEFT_TO_RIGHT               = 0x12DB,
    CMSG_SET_LFG_BONUS_FACTION_ID                     = 0x0252,
    CMSG_SET_LOOT_METHOD                              = 0x0E3E,
    CMSG_SET_LOOT_SPECIALIZATION                      = 0x0D72,
    CMSG_SET_PARTY_ASSIGNMENT                         = 0x0AB8,
    CMSG_SET_PARTY_LEADER                             = 0x131D,
    CMSG_SET_PET_SLOT                                 = 0x1B02,
    CMSG_SET_PLAYER_DECLINED_NAMES                    = 0x1617,
    CMSG_SET_PREFERRED_CEMETERY                       = 0x07DA,
    CMSG_SET_PVP                                      = 0x1BC7,
    CMSG_SET_RAID_DIFFICULTY                          = 0x0397,
    CMSG_SET_ROLE                                     = 0x0398,
    CMSG_SET_SAVED_INSTANCE_EXTEND                    = 0x0B97,
    CMSG_SET_SELECTION                                = 0x0E8C,
    CMSG_SET_SHEATHED                                 = 0x1CB1,
    CMSG_SET_SORT_BAGS_RIGHT_TO_LEFT                  = 0x1F2C,
    CMSG_SET_SPECIALIZATION                           = 0x0759,
    CMSG_SET_TAXI_BENCHMARK_MODE                      = 0x0CF6,
    CMSG_SET_TITLE                                    = 0x1650,
    CMSG_SET_TRADE_CURRENCY                           = 0x06F2,
    CMSG_SET_TRADE_GOLD                               = 0x0E5A,
    CMSG_SET_TRADE_ITEM                               = 0x0626,
    CMSG_SET_USING_PARTY_GARRISON                     = 0x1A26,
    CMSG_SET_WATCHED_FACTION                          = 0x1E82,
    CMSG_SHOWING_CLOAK                                = 0x0F04,
    CMSG_SHOWING_HELM                                 = 0x0C36,
    CMSG_SHOW_TRADE_SKILL                             = 0x1735,
    CMSG_SIGN_PETITION                                = 0x18E5,
    CMSG_SILENCE_PARTY_TALKER                         = 0x1A36,
    CMSG_SOCKET_GEMS                                  = 0x0F8B,
    CMSG_SORT_BAGS                                    = 0x0AF1,
    CMSG_SORT_BANK_BAGS                               = 0x0659,
    CMSG_SORT_REAGENT_BANK_BAGS                       = 0x06D2,
    CMSG_SPELL_CLICK                                  = 0x1DB2,
    CMSG_SPIRIT_HEALER_ACTIVATE                       = 0x1E8A,
    CMSG_SPLIT_ITEM                                   = 0x052B,
    CMSG_STAND_STATE_CHANGE                           = 0x01AD,
    CMSG_START_SPECTATOR_WAR_GAME                     = 0x16B5,
    CMSG_START_WAR_GAME                               = 0x12BF,
    CMSG_SUMMON_RESPONSE                              = 0x0740,
    CMSG_SUPPORT_TICKET_SUBMIT_BUG                    = 0x06B6,
    CMSG_SUPPORT_TICKET_SUBMIT_COMPLAINT              = 0x16C0,
    CMSG_SUPPORT_TICKET_SUBMIT_SUGGESTION             = 0x1A16,
    CMSG_SUSPEND_COMMS_ACK                            = 0x1375,
    CMSG_SUSPEND_TOKEN_RESPONSE                       = 0x1255,
    CMSG_SWAP_INV_ITEM                                = 0x003C,
    CMSG_SWAP_ITEM                                    = 0x0438,
    CMSG_SWAP_SUB_GROUPS                              = 0x0F98,
    CMSG_SWAP_VOID_ITEM                               = 0x0B02,
    CMSG_TABARD_VENDOR_ACTIVATE                       = 0x07FC,
    CMSG_TALK_TO_GOSSIP                               = 0x1C22,
    CMSG_TAXI_NODE_STATUS_QUERY                       = 0x0CF1,
    CMSG_TAXI_QUERY_AVAILABLE_NODES                   = 0x0E02,
    CMSG_TAXI_REQUEST_EARLY_LANDING                   = 0x0DE6,
    CMSG_TELEPORT_TO_UNIT                             = 0x069D,
    CMSG_TIME_ADJUSTMENT_RESPONSE                     = 0x0554,
    CMSG_TIME_SYNC_RESPONSE                           = 0x0550,
    CMSG_TIME_SYNC_RESPONSE_DROPPED                   = 0x040B,
    CMSG_TIME_SYNC_RESPONSE_FAILED                    = 0x0153,
    CMSG_TOGGLE_DIFFICULTY                            = 0x0FC0,
    CMSG_TOGGLE_PVP                                   = 0x1BAB,
    CMSG_TOTEM_DESTROYED                              = 0x19B5,
    CMSG_TOY_SET_FAVORITE                             = 0x02BE,
    CMSG_TRAINER_BUY_SPELL                            = 0x0921,
    CMSG_TRAINER_LIST                                 = 0x0D21,
    CMSG_TRANSMOGRIFY_ITEMS                           = 0x03F1,
    CMSG_TURN_IN_PETITION                             = 0x0DF5,
    CMSG_TUTORIAL                                     = 0x0E9F,
    CMSG_TWITTER_CHECK_STATUS                         = 0x0CDE,
    CMSG_TWITTER_CONNECT                              = 0x089D,
    CMSG_TWITTER_DISCONNECT                           = 0x0D1A,
    CMSG_TWITTER_POST                                 = 0x0FA2,
    CMSG_UI_TIME_REQUEST                              = 0x0316,
    CMSG_UNACCEPT_TRADE                               = 0x0AD1,
    CMSG_UNDELETE_CHARACTER                           = 0x1296,
    CMSG_UNLEARN_SKILL                                = 0x0931,
    CMSG_UNLEARN_SPECIALIZATION                       = 0x0708,
    CMSG_UNLOCK_VOID_STORAGE                          = 0x0AA1,
    CMSG_UPDATE_ACCOUNT_DATA                          = 0x1637,
    CMSG_UPDATE_CLIENT_SETTINGS                       = 0x0218,
    CMSG_UPDATE_MISSILE_TRAJECTORY                    = 0x025A,
    CMSG_UPDATE_RAID_TARGET                           = 0x17A0,
    CMSG_UPDATE_WOW_TOKEN_AUCTIONABLE_LIST            = 0x1795,
    CMSG_UPDATE_WOW_TOKEN_COUNT                       = 0x0A16,
    CMSG_UPGRADE_GARRISON                             = 0x1B82,
    CMSG_UPGRADE_ITEM                                 = 0x0AA4,
    CMSG_USED_FOLLOW                                  = 0x054E,
    CMSG_USE_CRITTER_ITEM                             = 0x0ADC,
    CMSG_USE_EQUIPMENT_SET                            = 0x083C,
    CMSG_USE_ITEM                                     = 0x06D0,
    CMSG_USE_TOY                                      = 0x0B48,
    CMSG_VIOLENCE_LEVEL                               = 0x0F48,
    CMSG_VOICE_ADD_IGNORE                             = 0x033D,
    CMSG_VOICE_DEL_IGNORE                             = 0x0E95,
    CMSG_VOICE_SESSION_ENABLE                         = 0x1238,
    CMSG_VOID_STORAGE_TRANSFER                        = 0x0E07,
    CMSG_WARDEN_DATA                                  = 0x02B8,
    CMSG_WHO                                          = 0x079E,
    CMSG_WHO_IS                                       = 0x17BF,
    CMSG_WORLD_PORT_RESPONSE                          = 0x061D,
    CMSG_WORLD_TELEPORT                               = 0x0E97,
    CMSG_WRAP_ITEM                                    = 0x0528,
};

// SMSGs 6.1.2.19802
enum OpcodeServer : uint32
{
    SMSG_ABORT_NEW_WORLD                              = 0x0740,
    SMSG_ACCOUNT_CRITERIA_UPDATE                      = 0x1635,
    SMSG_ACCOUNT_DATA_TIMES                           = 0x16B8,
    SMSG_ACCOUNT_MOUNT_UPDATE                         = 0x079D,
    SMSG_ACCOUNT_TOYS_UPDATE                          = 0x0E1D,
    SMSG_ACHIEVEMENT_DELETED                          = 0x1CF2,
    SMSG_ACHIEVEMENT_EARNED                           = 0x06C0,
    SMSG_ACTIVATE_TAXI_REPLY                          = 0x0C61,
    SMSG_ADDON_INFO                                   = 0x1715,
    SMSG_ADD_BATTLENET_FRIEND_RESPONSE                = 0x0F8B,
    SMSG_ADD_ITEM_PASSIVE                             = 0x1DB1,
    SMSG_ADD_LOSS_OF_CONTROL                          = 0x19E2,
    SMSG_ADD_RUNE_POWER                               = 0x1718,
    SMSG_ADJUST_SPLINE_DURATION                       = 0x0E97,
    SMSG_AE_LOOT_TARGETS                              = 0x1835,
    SMSG_AE_LOOT_TARGET_ACK                           = 0x1C72,
    SMSG_AI_REACTION                                  = 0x1739,
    SMSG_ALL_ACCOUNT_CRITERIA                         = 0x0392,
    SMSG_ALL_ACHIEVEMENT_DATA                         = 0x163D,
    SMSG_ALL_GUILD_ACHIEVEMENTS                       = 0x14AB,
    SMSG_ARCHAEOLOGY_SURVERY_CAST                     = 0x160F,
    SMSG_AREA_SPIRIT_HEALER_TIME                      = 0x02B7,
    SMSG_AREA_TRIGGER_DENIED                          = 0x1391,
    SMSG_AREA_TRIGGER_NO_CORPSE                       = 0x0297,
    SMSG_AREA_TRIGGER_RE_PATH                         = 0x1F09,
    SMSG_AREA_TRIGGER_RE_SHAPE                        = 0x1A0E,
    SMSG_ARENA_ERROR                                  = 0x122E,
    SMSG_ARENA_PREP_OPPONENT_SPECIALIZATIONS          = 0x1876,
    SMSG_ATTACKER_STATE_UPDATE                        = 0x0EBD,
    SMSG_ATTACK_START                                 = 0x1971,
    SMSG_ATTACK_STOP                                  = 0x17C0,
    SMSG_ATTACK_SWING_ERROR                           = 0x1D66,
    SMSG_ATTACK_SWING_LANDED_LOG                      = 0x1865,
    SMSG_AUCTION_CLOSED_NOTIFICATION                  = 0x0EA0,
    SMSG_AUCTION_COMMAND_RESULT                       = 0x13B6,
    SMSG_AUCTION_HELLO_RESPONSE                       = 0x1338,
    SMSG_AUCTION_LIST_BIDDER_ITEMS_RESULT             = 0x02B9,
    SMSG_AUCTION_LIST_ITEMS_RESULT                    = 0x0E01,
    SMSG_AUCTION_LIST_OWNER_ITEMS_RESULT              = 0x0FA0,
    SMSG_AUCTION_LIST_PENDING_SALES_RESULT            = 0x0E1F,
    SMSG_AUCTION_OUTBID_NOTIFICATION                  = 0x073E,
    SMSG_AUCTION_OWNER_BID_NOTIFICATION               = 0x0612,
    SMSG_AUCTION_REPLICATE_RESPONSE                   = 0x161D,
    SMSG_AUCTION_WON_NOTIFICATION                     = 0x161A,
    SMSG_AURA_POINTS_DEPLETED                         = 0x119D,
    SMSG_AURA_UPDATE                                  = 0x1999,
    SMSG_AUTH_CHALLENGE                               = 0x007E,
    SMSG_AUTH_RESPONSE                                = 0x18F6,
    SMSG_AVAILABLE_VOICE_CHANNEL                      = 0x15C3,
    SMSG_BARBER_SHOP_RESULT                           = 0x1866,
    SMSG_BATTLEFIELD_LIST                             = 0x0338,
    SMSG_BATTLEFIELD_PORT_DENIED                      = 0x1E82,
    SMSG_BATTLEFIELD_STATUS_ACTIVE                    = 0x0B38,
    SMSG_BATTLEFIELD_STATUS_FAILED                    = 0x0715,
    SMSG_BATTLEFIELD_STATUS_NEED_CONFIRMATION         = 0x1E8A,
    SMSG_BATTLEFIELD_STATUS_NONE                      = 0x07B7,
    SMSG_BATTLEFIELD_STATUS_QUEUED                    = 0x163F,
    SMSG_BATTLEFIELD_STATUS_WAIT_FOR_GROUPS           = 0x0791,
    SMSG_BATTLEGROUND_INFO_THROTTLED                  = 0x12A0,
    SMSG_BATTLEGROUND_INIT                            = 0x1961,
    SMSG_BATTLEGROUND_PLAYER_JOINED                   = 0x1C26,
    SMSG_BATTLEGROUND_PLAYER_LEFT                     = 0x0AA0,
    SMSG_BATTLEGROUND_PLAYER_POSITIONS                = 0x0976,
    SMSG_BATTLEGROUND_POINTS                          = 0x0617,
    SMSG_BATTLENET_CHALLENGE_ABORT                    = 0x0312,
    SMSG_BATTLENET_CHALLENGE_START                    = 0x0961,
    SMSG_BATTLE_PAY_ACK_FAILED                        = 0x09F6,
    SMSG_BATTLE_PAY_CONFIRM_PURCHASE                  = 0x1716,
    SMSG_BATTLE_PAY_DELIVERY_ENDED                    = 0x0DE1,
    SMSG_BATTLE_PAY_DELIVERY_STARTED                  = 0x058E,
    SMSG_BATTLE_PAY_DISTRIBUTION_UPDATE               = 0x08B6,
    SMSG_BATTLE_PAY_GET_DISTRIBUTION_LIST_RESPONSE    = 0x120E,
    SMSG_BATTLE_PAY_GET_PRODUCT_LIST_RESPONSE         = 0x0CE1,
    SMSG_BATTLE_PAY_GET_PURCHASE_LIST_RESPONSE        = 0x02C0,
    SMSG_BATTLE_PAY_PURCHASE_UPDATE                   = 0x1639,
    SMSG_BATTLE_PAY_START_DISTRIBUTION_ASSIGN_TO_TARGET_RESPONSE = 0x1212,
    SMSG_BATTLE_PAY_START_PURCHASE_RESPONSE           = 0x0F04,
    SMSG_BATTLE_PETS_HEALED                           = 0x162E,
    SMSG_BATTLE_PET_CAGE_DATE_ERROR                   = 0x1972,
    SMSG_BATTLE_PET_DELETED                           = 0x0A40,
    SMSG_BATTLE_PET_ERROR                             = 0x1DB2,
    SMSG_BATTLE_PET_JOURNAL                           = 0x1C35,
    SMSG_BATTLE_PET_JOURNAL_LOCK_ACQUIRED             = 0x023F,
    SMSG_BATTLE_PET_JOURNAL_LOCK_DENIED               = 0x1346,
    SMSG_BATTLE_PET_LICENSE_CHANGED                   = 0x131A,
    SMSG_BATTLE_PET_RESTORED                          = 0x1D62,
    SMSG_BATTLE_PET_REVOKED                           = 0x0F0C,
    SMSG_BATTLE_PET_TRAP_LEVEL                        = 0x0638,
    SMSG_BATTLE_PET_UPDATES                           = 0x1340,
    SMSG_BF_MGR_DROP_TIMER_CANCELLED                  = 0x120D,
    SMSG_BF_MGR_DROP_TIMER_STARTED                    = 0x0F98,
    SMSG_BF_MGR_EJECTED                               = 0x121E,
    SMSG_BF_MGR_EJECT_PENDING                         = 0x0F95,
    SMSG_BF_MGR_ENTERING                              = 0x0299,
    SMSG_BF_MGR_ENTRY_INVITE                          = 0x18B1,
    SMSG_BF_MGR_QUEUE_INVITE                          = 0x0B17,
    SMSG_BF_MGR_QUEUE_REQUEST_RESPONSE                = 0x1631,
    SMSG_BF_MGR_QUEUE_STATUS_UPDATE                   = 0x169A,
    SMSG_BF_MGR_STATE_CHANGED                         = 0x0316,
    SMSG_BINDER_CONFIRM                               = 0x19E5,
    SMSG_BIND_POINT_UPDATE                            = 0x0399,
    SMSG_BLACK_MARKET_BID_ON_ITEM_RESULT              = 0x0DB2,
    SMSG_BLACK_MARKET_OPEN_RESULT                     = 0x18B5,
    SMSG_BLACK_MARKET_OUTBID                          = 0x18E6,
    SMSG_BLACK_MARKET_REQUEST_ITEMS_RESULT            = 0x06B6,
    SMSG_BLACK_MARKET_WON                             = 0x1A45,
    SMSG_BONUS_ROLL_EMPTY                             = 0x0A46,
    SMSG_BOSS_KILL_CREDIT                             = 0x0395,
    SMSG_BREAK_TARGET                                 = 0x0E02,
    SMSG_BUY_FAILED                                   = 0x1337,
    SMSG_BUY_SUCCEEDED                                = 0x1320,
    SMSG_CACHE_VERSION                                = 0x0E09,
    SMSG_CALENDAR_CLEAR_PENDING_ACTION                = 0x0932,
    SMSG_CALENDAR_COMMAND_RESULT                      = 0x0CE5,
    SMSG_CALENDAR_EVENT_INITIAL_INVITES               = 0x1F82,
    SMSG_CALENDAR_EVENT_INVITE                        = 0x0298,
    SMSG_CALENDAR_EVENT_INVITE_ALERT                  = 0x1797,
    SMSG_CALENDAR_EVENT_INVITE_MODERATOR_STATUS       = 0x0835,
    SMSG_CALENDAR_EVENT_INVITE_NOTES                  = 0x0F01,
    SMSG_CALENDAR_EVENT_INVITE_NOTES_ALERT            = 0x1922,
    SMSG_CALENDAR_EVENT_INVITE_REMOVED                = 0x09A6,
    SMSG_CALENDAR_EVENT_INVITE_REMOVED_ALERT          = 0x0A20,
    SMSG_CALENDAR_EVENT_INVITE_STATUS                 = 0x1637,
    SMSG_CALENDAR_EVENT_INVITE_STATUS_ALERT           = 0x0738,
    SMSG_CALENDAR_EVENT_REMOVED_ALERT                 = 0x061D,
    SMSG_CALENDAR_EVENT_UPDATED_ALERT                 = 0x12B7,
    SMSG_CALENDAR_RAID_LOCKOUT_ADDED                  = 0x05AE,
    SMSG_CALENDAR_RAID_LOCKOUT_REMOVED                = 0x07B9,
    SMSG_CALENDAR_RAID_LOCKOUT_UPDATED                = 0x0CF5,
    SMSG_CALENDAR_SEND_CALENDAR                       = 0x0A1F,
    SMSG_CALENDAR_SEND_EVENT                          = 0x17BE,
    SMSG_CALENDAR_SEND_NUM_PENDING                    = 0x129E,
    SMSG_CAMERA_SHAKE                                 = 0x1638,
    SMSG_CANCEL_AUTO_REPEAT                           = 0x1931,
    SMSG_CANCEL_COMBAT                                = 0x0220,
    SMSG_CANCEL_ORPHAN_SPELL_VISUAL                   = 0x10ED,
    SMSG_CANCEL_SCENE                                 = 0x0AB8,
    SMSG_CANCEL_SPELL_VISUAL                          = 0x106D,
    SMSG_CANCEL_SPELL_VISUAL_KIT                      = 0x112E,
    SMSG_CAN_DUEL_RESULT                              = 0x1831,
    SMSG_CAST_FAILED                                  = 0x1409,
    SMSG_CATEGORY_COOLDOWN                            = 0x15FA,
    SMSG_CHALLEGE_MODE_REWARDS                        = 0x08F5,
    SMSG_CHALLENGE_MODE_ALL_MAP_STATS                 = 0x0D22,
    SMSG_CHALLENGE_MODE_COMPLETE                      = 0x0A97,
    SMSG_CHALLENGE_MODE_MAP_STATS_UPDATE              = 0x07C0,
    SMSG_CHALLENGE_MODE_NEW_PLAYER_RECORD             = 0x13A0,
    SMSG_CHALLENGE_MODE_REQUEST_LEADERS_RESULT        = 0x1976,
    SMSG_CHALLENGE_MODE_RESET                         = 0x1232,
    SMSG_CHALLENGE_MODE_START                         = 0x03B1,
    SMSG_CHANGE_PLAYER_DIFFICULTY_RESULT              = 0x0921,
    SMSG_CHANNEL_LIST                                 = 0x14CC,
    SMSG_CHANNEL_NOTIFY                               = 0x15EF,
    SMSG_CHANNEL_NOTIFY_JOINED                        = 0x14C3,
    SMSG_CHANNEL_NOTIFY_LEFT                          = 0x19CF,
    SMSG_CHARACTER_LOGIN_FAILED                       = 0x0FBD,
    SMSG_CHARACTER_OBJECT_TEST_RESPONSE               = 0x0872,
    SMSG_CHARACTER_RENAME_RESULT                      = 0x1F81,
    SMSG_CHARACTER_UPGRADE_CHARACTER_CHOSEN           = 0x0FBF,
    SMSG_CHARACTER_UPGRADE_COMPLETE                   = 0x063F,
    SMSG_CHARACTER_UPGRADE_SPELL_TIER_SET             = 0x0339,
    SMSG_CHARACTER_UPGRADE_STARTED                    = 0x1732,
    SMSG_CHAR_CUSTOMIZE                               = 0x03B9,
    SMSG_CHAR_CUSTOMIZE_FAILED                        = 0x121A,
    SMSG_CHAR_FACTION_CHANGE_RESULT                   = 0x0F8A,
    SMSG_CHAT                                         = 0x11E7,
    SMSG_CHAT_AUTO_RESPONDED                          = 0x14C7,
    SMSG_CHAT_DOWN                                    = 0x14E7,
    SMSG_CHAT_IGNORED_ACCOUNT_MUTED                   = 0x19CB,
    SMSG_CHAT_IS_DOWN                                 = 0x15EB,
    SMSG_CHAT_NOT_IN_PARTY                            = 0x19CC,
    SMSG_CHAT_PLAYER_AMBIGUOUS                        = 0x18E3,
    SMSG_CHAT_PLAYER_NOTFOUND                         = 0x19D0,
    SMSG_CHAT_RECONNECT                               = 0x14F0,
    SMSG_CHAT_RESTRICTED                              = 0x19E8,
    SMSG_CHAT_SERVER_MESSAGE                          = 0x14E3,
    SMSG_CHEAT_IGNORE_DIMISHING_RETURNS               = 0x118E,
    SMSG_CHECK_WARGAME_ENTRY                          = 0x129F,
    SMSG_CHUNKED_PACKET                               = 0x005A,
    SMSG_CLEAR_ALL_SPELL_CHARGES                      = 0x152D,
    SMSG_CLEAR_BOSS_EMOTES                            = 0x18A1,
    SMSG_CLEAR_COOLDOWN                               = 0x0A38,
    SMSG_CLEAR_COOLDOWNS                              = 0x15ED,
    SMSG_CLEAR_LOSS_OF_CONTROL                        = 0x0636,
    SMSG_CLEAR_SPELL_CHARGES                          = 0x10AE,
    SMSG_CLEAR_TARGET                                 = 0x1DF5,
    SMSG_COIN_REMOVED                                 = 0x069D,
    SMSG_COMBAT_EVENT_FAILED                          = 0x0792,
    SMSG_COMMENTATOR_MAP_INFO                         = 0x02B6,
    SMSG_COMMENTATOR_PLAYER_INFO                      = 0x1A30,
    SMSG_COMMENTATOR_STATE_CHANGED                    = 0x0332,
    SMSG_COMPLAINT_RESULT                             = 0x1C71,
    SMSG_COMPLETE_SHIPMENT_RESPONSE                   = 0x0EBE,
    SMSG_COMPRESSED_PACKET                            = 0x007D,
    SMSG_CONNECT_TO                                   = 0x0119,
    SMSG_CONQUEST_FORMULA_CONSTANTS                   = 0x1C75,
    SMSG_CONSOLE_WRITE                                = 0x169F,
    SMSG_CONTACT_LIST                                 = 0x039F,
    SMSG_CONTROL_UPDATE                               = 0x0D32,
    SMSG_CONVERT_RUNE                                 = 0x052E,
    SMSG_COOLDOWN_CHEAT                               = 0x029D,
    SMSG_COOLDOWN_EVENT                               = 0x0922,
    SMSG_CORPSE_LOCATION                              = 0x0ABF,
    SMSG_CORPSE_RECLAIM_DELAY                         = 0x02BA,
    SMSG_CORPSE_TRANSPORT_QUERY                       = 0x1E2E,
    SMSG_CREATE_CHAR                                  = 0x16BA,
    SMSG_CREATE_SHIPMENT_RESPONSE                     = 0x0D61,
    SMSG_CRITERIA_DELETED                             = 0x1E2F,
    SMSG_CRITERIA_UPDATE                              = 0x0716,
    SMSG_CROSSED_INEBRIATION_THRESHOLD                = 0x133A,
    SMSG_CUSTOM_LOAD_SCREEN                           = 0x1E0E,
    SMSG_DAILY_QUESTS_RESET                           = 0x055B,
    SMSG_DAMAGE_CALC_LOG                              = 0x123D,
    SMSG_DANCE_STUDIO_CREATE_RESULT                   = 0x09E6,
    SMSG_DB_REPLY                                     = 0x09A5,
    SMSG_DEATH_RELEASE_LOC                            = 0x0A17,
    SMSG_DEFENSE_MESSAGE                              = 0x11E3,
    SMSG_DELETE_CHAR                                  = 0x06B8,
    SMSG_DESTROY_ARENA_UNIT                           = 0x0826,
    SMSG_DESTRUCTIBLE_BUILDING_DAMAGE                 = 0x08B5,
    SMSG_DIFFERENT_INSTANCE_FROM_PARTY                = 0x1DE5,
    SMSG_DISENCHANT_CREDIT                            = 0x19A1,
    SMSG_DISMOUNT                                     = 0x03BF,
    SMSG_DISMOUNT_RESULT                              = 0x0C62,
    SMSG_DISPEL_FAILED                                = 0x148E,
    SMSG_DISPLAY_GAME_ERROR                           = 0x13B1,
    SMSG_DISPLAY_PLAYER_CHOICE                        = 0x0C76,
    SMSG_DISPLAY_PROMOTION                            = 0x0236,
    SMSG_DISPLAY_QUEST_POPUP                          = 0x0827,
    SMSG_DISPLAY_TOAST                                = 0x1CF1,
    SMSG_DONT_AUTO_PUSH_SPELLS_TO_ACTION_BAR          = 0x162D,
    SMSG_DROP_NEW_CONNECTION                          = 0x011E,
    SMSG_DUEL_COMPLETE                                = 0x1E83,
    SMSG_DUEL_COUNTDOWN                               = 0x0318,
    SMSG_DUEL_IN_BOUNDS                               = 0x0796,
    SMSG_DUEL_OUT_OF_BOUNDS                           = 0x07B1,
    SMSG_DUEL_REQUESTED                               = 0x0BBF,
    SMSG_DUEL_WINNER                                  = 0x1299,
    SMSG_DURABILITY_DAMAGE_DEATH                      = 0x1936,
    SMSG_EMOTE                                        = 0x0FC0,
    SMSG_ENABLE_BARBER_SHOP                           = 0x17B1,
    SMSG_ENCHANTMENT_LOG                              = 0x0DA6,
    SMSG_ENCOUNTER_END                                = 0x0862,
    SMSG_ENCOUNTER_START                              = 0x171A,
    SMSG_ENUM_CHARACTERS_RESULT                       = 0x18F1,
    SMSG_ENVIRONMENTAL_DAMAGE_LOG                     = 0x183E,
    SMSG_EQUIPMENT_SET_ID                             = 0x03B7,
    SMSG_EXPECTED_SPAM_RECORDS                        = 0x18C3,
    SMSG_EXPLORATION_EXPERIENCE                       = 0x0692,
    SMSG_FACTION_BONUS_INFO                           = 0x0E89,
    SMSG_FAILED_PLAYER_CONDITION                      = 0x0A9E,
    SMSG_FEATURE_SYSTEM_STATUS                        = 0x0B3E,
    SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN            = 0x0A1D,
    SMSG_FEIGN_DEATH_RESISTED                         = 0x1CE5,
    SMSG_FINAL_CHUNK                                  = 0x001A,
    SMSG_FISH_ESCAPED                                 = 0x0A3E,
    SMSG_FISH_NOT_HOOKED                              = 0x0231,
    SMSG_FLIGHT_SPLINE_SYNC                           = 0x1647,
    SMSG_FORCED_DEATH_UPDATE                          = 0x0346,
    SMSG_FORCE_ANIM                                   = 0x0F37,
    SMSG_FORCE_OBJECT_RELINK                          = 0x173F,
    SMSG_FRIEND_STATUS                                = 0x0F03,
    SMSG_GAME_OBJECT_ACTIVATE_ANIM_KIT                = 0x0DA5,
    SMSG_GAME_OBJECT_CUSTOM_ANIM                      = 0x0797,
    SMSG_GAME_OBJECT_DESPAWN                          = 0x0E0A,
    SMSG_GAME_OBJECT_PLAY_SPELL_VISUAL                = 0x19AD,
    SMSG_GAME_OBJECT_PLAY_SPELL_VISUAL_KIT            = 0x141D,
    SMSG_GAME_OBJECT_RESET_STATE                      = 0x1CB1,
    SMSG_GAME_SPEED_SET                               = 0x1331,
    SMSG_GAME_TIME_SET                                = 0x0F9F,
    SMSG_GAME_TIME_UPDATE                             = 0x0D76,
    SMSG_GARRISON_ADD_FOLLOWER_RESULT                 = 0x08A3,
    SMSG_GARRISON_ADD_MISSION_RESULT                  = 0x01DB,
    SMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING_RESULT  = 0x0187,
    SMSG_GARRISON_BUILDING_ACTIVATED                  = 0x00AB,
    SMSG_GARRISON_BUILDING_LANDMARKS                  = 0x0987,
    SMSG_GARRISON_BUILDING_REMOVED                    = 0x08F7,
    SMSG_GARRISON_BUILDING_SET_ACTIVE_SPECIALIZATION_RESULT = 0x00F8,
    SMSG_GARRISON_COMPLETE_MISSION_RESULT             = 0x00F7,
    SMSG_GARRISON_CREATE_RESULT                       = 0x01BB,
    SMSG_GARRISON_DELETE_RESULT                       = 0x01FC,
    SMSG_GARRISON_FOLLOWER_CHANGED_ITEM_LEVEL         = 0x01B4,
    SMSG_GARRISON_FOLLOWER_CHANGED_ITEM_LEVEL2        = 0x0093,
    SMSG_GARRISON_FOLLOWER_CHANGED_XP                 = 0x00AC,
    SMSG_GARRISON_IS_UPGRADEABLE_RESULT               = 0x01A8,
    SMSG_GARRISON_LANDINGPAGE_SHIPMENTS               = 0x1CA5,
    SMSG_GARRISON_LEARN_BLUEPRINT_RESULT              = 0x08D8,
    SMSG_GARRISON_LEARN_SPECIALIZATION_RESULT         = 0x08AB,
    SMSG_GARRISON_LIST_FOLLOWERS_CHEAT_RESULT         = 0x01FB,
    SMSG_GARRISON_LIST_MISSIONS_CHEAT_RESULT          = 0x08C3,
    SMSG_GARRISON_MISSION_BONUS_ROLL_RESULT           = 0x019C,
    SMSG_GARRISON_NUM_FOLLOWER_ACTIVATIONS_REMAINING  = 0x088F,
    SMSG_GARRISON_OPEN_ARCHITECT                      = 0x08FB,
    SMSG_GARRISON_OPEN_MISSION_NPC                    = 0x08C0,
    SMSG_GARRISON_OPEN_TRADESKILL_NPC                 = 0x018F,
    SMSG_GARRISON_PLACE_BUILDING_RESULT               = 0x08A4,
    SMSG_GARRISON_PLOT_PLACED                         = 0x00E7,
    SMSG_GARRISON_PLOT_REMOVED                        = 0x01AB,
    SMSG_GARRISON_RECALL_PORTAL_LAST_USED_TIME        = 0x089B,
    SMSG_GARRISON_RECALL_PORTAL_USED                  = 0x0197,
    SMSG_GARRISON_RECRUITMENT_FOLLOWERS_GENERATED     = 0x0088,
    SMSG_GARRISON_RECRUIT_FOLLOWER_RESULT             = 0x01EC,
    SMSG_GARRISON_REMOTE_INFO                         = 0x01B0,
    SMSG_GARRISON_REMOVE_FOLLOWER_FROM_BUILDING_RESULT = 0x01AC,
    SMSG_GARRISON_REMOVE_FOLLOWER_RESULT              = 0x098B,
    SMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA_RESULT = 0x08B4,
    SMSG_GARRISON_START_MISSION_RESULT                = 0x01E0,
    SMSG_GARRISON_UNLEARN_BLUEPRINT_RESULT            = 0x08EB,
    SMSG_GARRISON_UPGRADE_RESULT                      = 0x00B3,
    SMSG_GENERATE_RANDOM_CHARACTER_NAME_RESULT        = 0x0216,
    SMSG_GET_ACCOUNT_CHARACTER_LIST_RESULT            = 0x0DB6,
    SMSG_GET_DISPLAYED_TROPHY_LIST_RESPONSE           = 0x01D4,
    SMSG_GET_GARRISON_INFO_RESULT                     = 0x0084,
    SMSG_GET_SHIPMENTS_OF_TYPE_RESPONSE               = 0x1A10,
    SMSG_GET_SHIPMENT_INFO_RESPONSE                   = 0x1D35,
    SMSG_GET_TROPHY_LIST_RESPONSE                     = 0x0391,
    SMSG_GM_PLAYER_INFO                               = 0x0CB5,
    SMSG_GM_REQUEST_PLAYER_INFO                       = 0x0BC0,
    SMSG_GM_TICKET_CASE_STATUS                        = 0x17B7,
    SMSG_GM_TICKET_GET_TICKET_RESPONSE                = 0x0B95,
    SMSG_GM_TICKET_RESOLVE_RESPONSE                   = 0x0A37,
    SMSG_GM_TICKET_RESPONSE                           = 0x07B6,
    SMSG_GM_TICKET_RESPONSE_ERROR                     = 0x08A2,
    SMSG_GM_TICKET_STATUS_UPDATE                      = 0x13B7,
    SMSG_GM_TICKET_SYSTEM_STATUS                      = 0x0B16,
    SMSG_GM_TICKET_UPDATE                             = 0x0925,
    SMSG_GOD_MODE                                     = 0x0DE2,
    SMSG_GOSSIP_COMPLETE                              = 0x0010,
    SMSG_GOSSIP_MESSAGE                               = 0x0077,
    SMSG_GOSSIP_POI                                   = 0x1CA1,
    SMSG_GROUP_ACTION_THROTTLED                       = 0x1F02,
    SMSG_GROUP_DECLINE                                = 0x139F,
    SMSG_GROUP_DESTROYED                              = 0x1395,
    SMSG_GROUP_NEW_LEADER                             = 0x0C32,
    SMSG_GROUP_UNINVITE                               = 0x1318,
    SMSG_GUILD_ACHIEVEMENT_DELETED                    = 0x11AB,
    SMSG_GUILD_ACHIEVEMENT_EARNED                     = 0x14B8,
    SMSG_GUILD_ACHIEVEMENT_MEMBERS                    = 0x10B3,
    SMSG_GUILD_BANK_LOG_QUERY_RESULTS                 = 0x10AB,
    SMSG_GUILD_BANK_QUERY_RESULTS                     = 0x1083,
    SMSG_GUILD_BANK_REMAINING_WITHDRAW_MONEY          = 0x1588,
    SMSG_GUILD_BANK_TEXT_QUERY_RESULT                 = 0x10B8,
    SMSG_GUILD_CHALLENGE_COMPLETED                    = 0x14AF,
    SMSG_GUILD_CHALLENGE_UPDATE                       = 0x1183,
    SMSG_GUILD_CHANGE_NAME_RESULT                     = 0x11B4,
    SMSG_GUILD_COMMAND_RESULT                         = 0x10AC,
    SMSG_GUILD_CRITERIA_DELETED                       = 0x118F,
    SMSG_GUILD_CRITERIA_UPDATE                        = 0x14AC,
    SMSG_GUILD_EVENT_BANK_CONTENTS_CHANGED            = 0x11AF,
    SMSG_GUILD_EVENT_BANK_MONEY_CHANGED               = 0x10C0,
    SMSG_GUILD_EVENT_DISBANDED                        = 0x14A3,
    SMSG_GUILD_EVENT_LOG_QUERY_RESULTS                = 0x119B,
    SMSG_GUILD_EVENT_MOTD                             = 0x10BF,
    SMSG_GUILD_EVENT_NEW_LEADER                       = 0x1587,
    SMSG_GUILD_EVENT_PLAYER_JOINED                    = 0x1198,
    SMSG_GUILD_EVENT_PLAYER_LEFT                      = 0x109B,
    SMSG_GUILD_EVENT_PRESENCE_CHANGE                  = 0x10AF,
    SMSG_GUILD_EVENT_RANKS_UPDATED                    = 0x11BC,
    SMSG_GUILD_EVENT_RANK_CHANGED                     = 0x10BC,
    SMSG_GUILD_EVENT_TAB_ADDED                        = 0x1084,
    SMSG_GUILD_EVENT_TAB_DELETED                      = 0x1190,
    SMSG_GUILD_EVENT_TAB_MODIFIED                     = 0x14A8,
    SMSG_GUILD_EVENT_TAB_TEXT_CHANGED                 = 0x1497,
    SMSG_GUILD_FLAGGED_FOR_RENAME                     = 0x14B3,
    SMSG_GUILD_INVITE                                 = 0x11C0,
    SMSG_GUILD_INVITE_DECLINED                        = 0x10A7,
    SMSG_GUILD_INVITE_EXPIRED                         = 0x118B,
    SMSG_GUILD_KNOWN_RECIPES                          = 0x11A3,
    SMSG_GUILD_MEMBERS_WITH_RECIPE                    = 0x1090,
    SMSG_GUILD_MEMBER_DAILY_RESET                     = 0x148C,
    SMSG_GUILD_MEMBER_RECIPES                         = 0x1483,
    SMSG_GUILD_MEMBER_UPDATE_NOTE                     = 0x1187,
    SMSG_GUILD_MOVED                                  = 0x11A8,
    SMSG_GUILD_MOVE_STARTING                          = 0x14A7,
    SMSG_GUILD_NAME_CHANGED                           = 0x1488,
    SMSG_GUILD_NEWS                                   = 0x10A4,
    SMSG_GUILD_NEWS_DELETED                           = 0x149B,
    SMSG_GUILD_PARTY_STATE                            = 0x1094,
    SMSG_GUILD_PERMISSIONS_QUERY_RESULTS              = 0x1097,
    SMSG_GUILD_RANKS                                  = 0x14B0,
    SMSG_GUILD_REPUTATION_REACTION_CHANGED            = 0x149F,
    SMSG_GUILD_RESET                                  = 0x119C,
    SMSG_GUILD_REWARD_LIST                            = 0x1494,
    SMSG_GUILD_ROSTER                                 = 0x1498,
    SMSG_GUILD_ROSTER_UPDATE                          = 0x1493,
    SMSG_GUILD_SEND_RANK_CHANGE                       = 0x10B7,
    SMSG_HEALTH_UPDATE                                = 0x07BD,
    SMSG_HIGHEST_THREAT_UPDATE                        = 0x0F35,
    SMSG_HOTFIX_NOTIFY                                = 0x1736,
    SMSG_HOTFIX_NOTIFY_BLOB                           = 0x1D71,
    SMSG_INCREASE_CAST_TIME_FOR_SPELL                 = 0x1C8E,
    SMSG_INITIALIZE_FACTIONS                          = 0x1C32,
    SMSG_INITIAL_SETUP                                = 0x0238,
    SMSG_INIT_WORLD_STATES                            = 0x09E1,
    SMSG_INSPECT_HONOR_STATS                          = 0x1740,
    SMSG_INSPECT_PVP                                  = 0x12B9,
    SMSG_INSPECT_RESULT                               = 0x1D22,
    SMSG_INSTANCE_ENCOUNTER_CHANGE_PRIORITY           = 0x0C72,
    SMSG_INSTANCE_ENCOUNTER_DISENGAGE_UNIT            = 0x1DB6,
    SMSG_INSTANCE_ENCOUNTER_END                       = 0x16B5,
    SMSG_INSTANCE_ENCOUNTER_ENGAGE_UNIT               = 0x08E6,
    SMSG_INSTANCE_ENCOUNTER_GAIN_COMBAT_RESURRECTION_CHARGE = 0x0866,
    SMSG_INSTANCE_ENCOUNTER_IN_COMBAT_RESURRECTION    = 0x1717,
    SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_COMPLETE        = 0x0735,
    SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_START           = 0x0B3D,
    SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_UPDATE          = 0x1219,
    SMSG_INSTANCE_ENCOUNTER_PHASE_SHIFT_CHANGED       = 0x0F89,
    SMSG_INSTANCE_ENCOUNTER_START                     = 0x06B9,
    SMSG_INSTANCE_ENCOUNTER_TIMER_START               = 0x0619,
    SMSG_INSTANCE_GROUP_SIZE_CHANGED                  = 0x1C22,
    SMSG_INSTANCE_INFO                                = 0x12B5,
    SMSG_INSTANCE_RESET                               = 0x0825,
    SMSG_INSTANCE_RESET_FAILED                        = 0x0F40,
    SMSG_INSTANCE_SAVE_CREATED                        = 0x0DA2,
    SMSG_INVALIDATE_PLAYER                            = 0x0B9D,
    SMSG_INVALID_PROMOTION_CODE                       = 0x1A16,
    SMSG_INVENTORY_CHANGE_FAILURE                     = 0x07B5,
    SMSG_IS_QUEST_COMPLETE_RESPONSE                   = 0x0063,
    SMSG_ITEM_CHANGED                                 = 0x19B5,
    SMSG_ITEM_COOLDOWN                                = 0x0D35,
    SMSG_ITEM_ENCHANT_TIME_UPDATE                     = 0x1E30,
    SMSG_ITEM_EXPIRE_PURCHASE_REFUND                  = 0x1798,
    SMSG_ITEM_PURCHASE_REFUND_RESULT                  = 0x1620,
    SMSG_ITEM_PUSH_RESULT                             = 0x0B15,
    SMSG_ITEM_TIME_UPDATE                             = 0x1DB5,
    SMSG_KICK_REASON                                  = 0x042E,
    SMSG_LEARNED_SPELLS                               = 0x183D,
    SMSG_LEARN_TALENT_FAILED                          = 0x0B9E,
    SMSG_LEVEL_UP_INFO                                = 0x0B36,
    SMSG_LFG_BOOT_PLAYER                              = 0x0E11,
    SMSG_LFG_DISABLED                                 = 0x0EBA,
    SMSG_LFG_JOIN_RESULT                              = 0x1B31,
    SMSG_LFG_LIST_JOIN_RESULT                         = 0x0B99,
    SMSG_LFG_LIST_SEARCH_RESULTS                      = 0x0B32,
    SMSG_LFG_LIST_SEARCH_STATUS                       = 0x1A9A,
    SMSG_LFG_LIST_UPDATE_BLACKLIST                    = 0x0F31,
    SMSG_LFG_LIST_UPDATE_STATUS                       = 0x0B12,
    SMSG_LFG_OFFER_CONTINUE                           = 0x0FB9,
    SMSG_LFG_PARTY_INFO                               = 0x1B39,
    SMSG_LFG_PLAYER_INFO                              = 0x0E32,
    SMSG_LFG_PLAYER_REWARD                            = 0x0E91,
    SMSG_LFG_PROPOSAL_UPDATE                          = 0x1B3A,
    SMSG_LFG_QUEUE_STATUS                             = 0x1A91,
    SMSG_LFG_READY_CHECK_RESULT                       = 0x0EB2,
    SMSG_LFG_READY_CHECK_UPDATE                       = 0x0F11,
    SMSG_LFG_ROLE_CHECK_UPDATE                        = 0x1A11,
    SMSG_LFG_SEARCH_RESULTS                           = 0x0E19,
    SMSG_LFG_SLOT_INVALID                             = 0x1AB9,
    SMSG_LFG_TELEPORT_DENIED                          = 0x0FB1,
    SMSG_LFG_UPDATE_STATUS                            = 0x1A92,
    SMSG_LF_GUILD_APPLICANT_LIST_CHANGED              = 0x118C,
    SMSG_LF_GUILD_APPLICATIONS                        = 0x11BF,
    SMSG_LF_GUILD_APPLICATIONS_LIST_CHANGED           = 0x1193,
    SMSG_LF_GUILD_BROWSE                              = 0x1197,
    SMSG_LF_GUILD_COMMAND_RESULT                      = 0x11A0,
    SMSG_LF_GUILD_POST                                = 0x10B0,
    SMSG_LF_GUILD_RECRUITS                            = 0x11BB,
    SMSG_LIVE_REGION_ACCOUNT_RESTORE_RESULT           = 0x1A0D,
    SMSG_LIVE_REGION_CHARACTER_COPY_RESULT            = 0x0E3D,
    SMSG_LIVE_REGION_GET_ACCOUNT_CHARACTER_LIST_RESULT = 0x18B2,
    SMSG_LOAD_CUF_PROFILES                            = 0x139A,
    SMSG_LOAD_EQUIPMENT_SET                           = 0x079E,
    SMSG_LOAD_SELECTED_TROPHY_RESULT                  = 0x1D72,
    SMSG_LOGIN_SET_TIME_SPEED                         = 0x0D65,
    SMSG_LOGIN_VERIFY_WORLD                           = 0x0A98,
    SMSG_LOGOUT_CANCEL_ACK                            = 0x08B2,
    SMSG_LOGOUT_COMPLETE                              = 0x0E95,
    SMSG_LOGOUT_RESPONSE                              = 0x0731,
    SMSG_LOG_XP_GAIN                                  = 0x0E3E,
    SMSG_LOOT_ALL_PASSED                              = 0x0C26,
    SMSG_LOOT_CONTENTS                                = 0x02BF,
    SMSG_LOOT_ITEM_LIST                               = 0x061F,
    SMSG_LOOT_LIST                                    = 0x08E2,
    SMSG_LOOT_MONEY_NOTIFY                            = 0x17A0,
    SMSG_LOOT_RELEASE                                 = 0x06B7,
    SMSG_LOOT_RELEASE_ALL                             = 0x1C61,
    SMSG_LOOT_REMOVED                                 = 0x0F15,
    SMSG_LOOT_RESPONSE                                = 0x122D,
    SMSG_LOOT_ROLL                                    = 0x09B2,
    SMSG_LOOT_ROLLS_COMPLETE                          = 0x0219,
    SMSG_LOOT_ROLL_WON                                = 0x1296,
    SMSG_LOSS_OF_CONTROL_AURA_UPDATE                  = 0x0737,
    SMSG_MAIL_COMMAND_RESULT                          = 0x17BF,
    SMSG_MAIL_LIST_RESULT                             = 0x0871,
    SMSG_MAIL_QUERY_NEXT_TIME_RESULT                  = 0x0F8C,
    SMSG_MAP_OBJECTIVES_INIT                          = 0x1238,
    SMSG_MAP_OBJ_EVENTS                               = 0x161F,
    SMSG_MASTER_LOOT_CANDIDATE_LIST                   = 0x1821,
    SMSG_MESSAGE_BOX                                  = 0x13BD,
    SMSG_MINIMAP_PING                                 = 0x1697,
    SMSG_MIRROR_IMAGE_COMPONENTED_DATA                = 0x159E,
    SMSG_MIRROR_IMAGE_CREATURE_DATA                   = 0x151A,
    SMSG_MISSILE_CANCEL                               = 0x1A17,
    SMSG_MODIFY_COOLDOWN                              = 0x0832,
    SMSG_MOTD                                         = 0x18E8,
    SMSG_MOUNT_RESULT                                 = 0x06BE,
    SMSG_MOVE_APPLY_MOVEMENT_FORCE                    = 0x1F50,
    SMSG_MOVE_DISABLE_COLLISION                       = 0x0A2A,
    SMSG_MOVE_DISABLE_GRAVITY                         = 0x1B81,
    SMSG_MOVE_DISABLE_TRANSITION_BETWEEN_SWIM_AND_FLY = 0x1EAC,
    SMSG_MOVE_ENABLE_COLLISION                        = 0x1E27,
    SMSG_MOVE_ENABLE_GRAVITY                          = 0x002D,
    SMSG_MOVE_ENABLE_TRANSITION_BETWEEN_SWIM_AND_FLY  = 0x0BCF,
    SMSG_MOVE_KNOCK_BACK                              = 0x1BA3,
    SMSG_MOVE_REMOVE_MOVEMENT_FORCE                   = 0x000E,
    SMSG_MOVE_ROOT                                    = 0x018A,
    SMSG_MOVE_SET_ACTIVE_MOVER                        = 0x025B,
    SMSG_MOVE_SET_CAN_FLY                             = 0x012A,
    SMSG_MOVE_SET_CAN_TURN_WHILE_FALLING              = 0x0EA1,
    SMSG_MOVE_SET_COLLISION_HEIGHT                    = 0x1BA4,
    SMSG_MOVE_SET_COMPOUND_STATE                      = 0x02D0,
    SMSG_MOVE_SET_FEATHER_FALL                        = 0x0674,
    SMSG_MOVE_SET_FLIGHT_BACK_SPEED                   = 0x030D,
    SMSG_MOVE_SET_FLIGHT_SPEED                        = 0x046D,
    SMSG_MOVE_SET_HOVERING                            = 0x0B21,
    SMSG_MOVE_SET_IGNORE_MOVEMENT_FORCES              = 0x1347,
    SMSG_MOVE_SET_LAND_WALK                           = 0x0AC7,
    SMSG_MOVE_SET_NORMAL_FALL                         = 0x04EE,
    SMSG_MOVE_SET_PITCH_RATE                          = 0x0B2C,
    SMSG_MOVE_SET_RUN_BACK_SPEED                      = 0x03DA,
    SMSG_MOVE_SET_RUN_SPEED                           = 0x1EA9,
    SMSG_MOVE_SET_SWIM_BACK_SPEED                     = 0x0605,
    SMSG_MOVE_SET_SWIM_SPEED                          = 0x1628,
    SMSG_MOVE_SET_TURN_RATE                           = 0x1E24,
    SMSG_MOVE_SET_VEHICLE_REC_ID                      = 0x1A29,
    SMSG_MOVE_SET_WALK_SPEED                          = 0x0F28,
    SMSG_MOVE_SET_WATER_WALK                          = 0x035C,
    SMSG_MOVE_SKIP_TIME                               = 0x0FCF,
    SMSG_MOVE_SPLINE_DISABLE_COLLISION                = 0x1A8A,
    SMSG_MOVE_SPLINE_DISABLE_GRAVITY                  = 0x1A21,
    SMSG_MOVE_SPLINE_ENABLE_COLLISION                 = 0x0254,
    SMSG_MOVE_SPLINE_ENABLE_GRAVITY                   = 0x0252,
    SMSG_MOVE_SPLINE_ROOT                             = 0x02D1,
    SMSG_MOVE_SPLINE_SET_FEATHER_FALL                 = 0x0F30,
    SMSG_MOVE_SPLINE_SET_FLIGHT_BACK_SPEED            = 0x1F22,
    SMSG_MOVE_SPLINE_SET_FLIGHT_SPEED                 = 0x1208,
    SMSG_MOVE_SPLINE_SET_FLYING                       = 0x0B2A,
    SMSG_MOVE_SPLINE_SET_HOVER                        = 0x1B21,
    SMSG_MOVE_SPLINE_SET_LAND_WALK                    = 0x1A28,
    SMSG_MOVE_SPLINE_SET_NORMAL_FALL                  = 0x037A,
    SMSG_MOVE_SPLINE_SET_PITCH_RATE                   = 0x02C8,
    SMSG_MOVE_SPLINE_SET_RUN_BACK_SPEED               = 0x0305,
    SMSG_MOVE_SPLINE_SET_RUN_MODE                     = 0x1A8C,
    SMSG_MOVE_SPLINE_SET_RUN_SPEED                    = 0x164F,
    SMSG_MOVE_SPLINE_SET_SWIM_BACK_SPEED              = 0x0A47,
    SMSG_MOVE_SPLINE_SET_SWIM_SPEED                   = 0x0E22,
    SMSG_MOVE_SPLINE_SET_TURN_RATE                    = 0x035B,
    SMSG_MOVE_SPLINE_SET_WALK_MODE                    = 0x0B09,
    SMSG_MOVE_SPLINE_SET_WALK_SPEED                   = 0x1205,
    SMSG_MOVE_SPLINE_SET_WATER_WALK                   = 0x0EAB,
    SMSG_MOVE_SPLINE_START_SWIM                       = 0x1A81,
    SMSG_MOVE_SPLINE_STOP_SWIM                        = 0x1A0B,
    SMSG_MOVE_SPLINE_UNROOT                           = 0x1BA2,
    SMSG_MOVE_SPLINE_UNSET_FLYING                     = 0x1A2C,
    SMSG_MOVE_SPLINE_UNSET_HOVER                      = 0x0E47,
    SMSG_MOVE_TELEPORT                                = 0x1206,
    SMSG_MOVE_UNROOT                                  = 0x046E,
    SMSG_MOVE_UNSET_CAN_FLY                           = 0x03DC,
    SMSG_MOVE_UNSET_CAN_TURN_WHILE_FALLING            = 0x124F,
    SMSG_MOVE_UNSET_HOVERING                          = 0x0651,
    SMSG_MOVE_UNSET_IGNORE_MOVEMENT_FORCES            = 0x0F2B,
    SMSG_MOVE_UPDATE                                  = 0x0F2C,
    SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE             = 0x0705,
    SMSG_MOVE_UPDATE_COLLISION_HEIGHT                 = 0x1A04,
    SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED                = 0x032E,
    SMSG_MOVE_UPDATE_FLIGHT_SPEED                     = 0x0628,
    SMSG_MOVE_UPDATE_KNOCK_BACK                       = 0x0273,
    SMSG_MOVE_UPDATE_PITCH_RATE                       = 0x1AAC,
    SMSG_MOVE_UPDATE_REMOVE_MOVEMENT_FORCE            = 0x1F47,
    SMSG_MOVE_UPDATE_RUN_BACK_SPEED                   = 0x1B82,
    SMSG_MOVE_UPDATE_RUN_SPEED                        = 0x06DA,
    SMSG_MOVE_UPDATE_SWIM_BACK_SPEED                  = 0x0B06,
    SMSG_MOVE_UPDATE_SWIM_SPEED                       = 0x1A83,
    SMSG_MOVE_UPDATE_TELEPORT                         = 0x1F21,
    SMSG_MOVE_UPDATE_TURN_RATE                        = 0x000A,
    SMSG_MOVE_UPDATE_WALK_SPEED                       = 0x1F29,
    SMSG_MULTIPLE_PACKETS                             = 0x0039,
    SMSG_NEUTRAL_PLAYER_FACTION_SELECT_RESULT         = 0x1332,
    SMSG_NEW_TAXI_PATH                                = 0x06BA,
    SMSG_NEW_WORLD                                    = 0x0A15,
    SMSG_NOTIFY_DEST_LOC_SPELL_CAST                   = 0x1589,
    SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION          = 0x073F,
    SMSG_NOTIFY_MONEY                                 = 0x0B1E,
    SMSG_NOTIFY_RECEIVED_MAIL                         = 0x18E2,
    SMSG_OFFER_PETITION_ERROR                         = 0x1DA2,
    SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA         = 0x0C66,
    SMSG_ON_MONSTER_MOVE                              = 0x0EA9,
    SMSG_OPEN_CONTAINER                               = 0x0235,
    SMSG_OPEN_LFG_DUNGEON_FINDER                      = 0x0E99,
    SMSG_OPEN_SHIPMENT_NPC_FROM_GOSSIP                = 0x1712,
    SMSG_OPEN_SHIPMENT_NPC_RESULT                     = 0x1230,
    SMSG_OVERRIDE_LIGHT                               = 0x0936,
    SMSG_PAGE_TEXT                                    = 0x0E03,
    SMSG_PARTY_COMMAND_RESULT                         = 0x13B5,
    SMSG_PARTY_INVITE                                 = 0x0E83,
    SMSG_PARTY_KILL_LOG                               = 0x120F,
    SMSG_PARTY_MEMBER_STATE                           = 0x0335,
    SMSG_PARTY_UPDATE                                 = 0x0F02,
    SMSG_PAUSE_MIRROR_TIMER                           = 0x029F,
    SMSG_PENDING_RAID_LOCK                            = 0x071D,
    SMSG_PETITION_ALREADY_SIGNED                      = 0x0F18,
    SMSG_PETITION_RENAME_GUILD_RESPONSE               = 0x1484,
    SMSG_PETITION_SHOW_LIST                           = 0x0B1F,
    SMSG_PETITION_SHOW_SIGNATURES                     = 0x1CA2,
    SMSG_PETITION_SIGN_RESULTS                        = 0x1C31,
    SMSG_PET_ACTION_FEEDBACK                          = 0x1692,
    SMSG_PET_ACTION_SOUND                             = 0x0875,
    SMSG_PET_ADDED                                    = 0x0F83,
    SMSG_PET_BATTLE_CHAT_RESTRICTED                   = 0x1396,
    SMSG_PET_BATTLE_DEBUG_QUEUE_DUMP_RESPONSE         = 0x1F01,
    SMSG_PET_BATTLE_FINALIZE_LOCATION                 = 0x0A35,
    SMSG_PET_BATTLE_FINAL_ROUND                       = 0x18B6,
    SMSG_PET_BATTLE_FINISHED                          = 0x19B6,
    SMSG_PET_BATTLE_FIRST_ROUND                       = 0x08A1,
    SMSG_PET_BATTLE_INITIAL_UPDATE                    = 0x17B6,
    SMSG_PET_BATTLE_MAX_GAME_LENGTH_WARNING           = 0x0962,
    SMSG_PET_BATTLE_PVP_CHALLENGE                     = 0x1A2F,
    SMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH               = 0x1C76,
    SMSG_PET_BATTLE_QUEUE_STATUS                      = 0x1612,
    SMSG_PET_BATTLE_REPLACEMENTS_MADE                 = 0x0E9E,
    SMSG_PET_BATTLE_REQUEST_FAILED                    = 0x0EB5,
    SMSG_PET_BATTLE_ROUND_RESULT                      = 0x0292,
    SMSG_PET_BATTLE_SLOT_UPDATES                      = 0x1D21,
    SMSG_PET_CAST_FAILED                              = 0x108D,
    SMSG_PET_CLEAR_SPELLS                             = 0x193A,
    SMSG_PET_DISMISS_SOUND                            = 0x0237,
    SMSG_PET_GOD_MODE                                 = 0x1C66,
    SMSG_PET_GUIDS                                    = 0x0245,
    SMSG_PET_LEARNED_SPELLS                           = 0x1099,
    SMSG_PET_MODE                                     = 0x1F0B,
    SMSG_PET_NAME_INVALID                             = 0x0975,
    SMSG_PET_SLOT_UPDATED                             = 0x0640,
    SMSG_PET_SPELLS_MESSAGE                           = 0x14CA,
    SMSG_PET_STABLE_LIST                              = 0x0D36,
    SMSG_PET_STABLE_RESULT                            = 0x0E0C,
    SMSG_PET_TAME_FAILURE                             = 0x0616,
    SMSG_PET_UNLEARNED_SPELLS                         = 0x15CD,
    SMSG_PHASE_SHIFT_CHANGE                           = 0x18A6,
    SMSG_PLAYED_TIME                                  = 0x1875,
    SMSG_PLAYER_BOUND                                 = 0x1935,
    SMSG_PLAYER_SAVE_GUILD_EMBLEM                     = 0x148B,
    SMSG_PLAYER_SKINNED                               = 0x0D21,
    SMSG_PLAYER_TABARD_VENDOR_ACTIVATE                = 0x139E,
    SMSG_PLAY_MUSIC                                   = 0x09F1,
    SMSG_PLAY_OBJECT_SOUND                            = 0x16BF,
    SMSG_PLAY_ONE_SHOT_ANIM_KIT                       = 0x0FB6,
    SMSG_PLAY_ORPHAN_SPELL_VISUAL                     = 0x191E,
    SMSG_PLAY_SCENE                                   = 0x09B1,
    SMSG_PLAY_SOUND                                   = 0x1298,
    SMSG_PLAY_SPEAKERBOT_SOUND                        = 0x0F81,
    SMSG_PLAY_SPELL_VISUAL                            = 0x11EA,
    SMSG_PLAY_SPELL_VISUAL_KIT                        = 0x1859,
    SMSG_PLAY_TIME_WARNING                            = 0x0972,
    SMSG_PONG                                         = 0x005E,
    SMSG_POWER_UPDATE                                 = 0x0F96,
    SMSG_PRE_RESSURECT                                = 0x058D,
    SMSG_PRINT_NOTIFICATION                           = 0x0F3D,
    SMSG_PROC_RESIST                                  = 0x0611,
    SMSG_PROPOSE_LEVEL_GRANT                          = 0x1C65,
    SMSG_PVP_CREDIT                                   = 0x0B18,
    SMSG_PVP_LOG_DATA                                 = 0x063E,
    SMSG_PVP_OPTIONS_ENABLED                          = 0x1E0F,
    SMSG_PVP_SEASON                                   = 0x1D61,
    SMSG_QUERY_BATTLE_PET_NAME_RESPONSE               = 0x17BD,
    SMSG_QUERY_CREATURE_RESPONSE                      = 0x1A15,
    SMSG_QUERY_GAME_OBJECT_RESPONSE                   = 0x1345,
    SMSG_QUERY_GARRISON_CREATURE_NAME_RESPONSE        = 0x00E0,
    SMSG_QUERY_GUILD_INFO_RESPONSE                    = 0x1194,
    SMSG_QUERY_ITEM_TEXT_RESPONSE                     = 0x1D36,
    SMSG_QUERY_NPC_TEXT_RESPONSE                      = 0x071E,
    SMSG_QUERY_PAGE_TEXT_RESPONSE                     = 0x048E,
    SMSG_QUERY_PETITION_RESPONSE                      = 0x1872,
    SMSG_QUERY_PET_NAME_RESPONSE                      = 0x023D,
    SMSG_QUERY_PLAYER_NAME_RESPONSE                   = 0x0C71,
    SMSG_QUERY_QUEST_INFO_RESPONSE                    = 0x0817,
    SMSG_QUERY_TIME_RESPONSE                          = 0x0CF1,
    SMSG_QUEST_COMPLETION_NPC_RESPONSE                = 0x0540,
    SMSG_QUEST_CONFIRM_ACCEPT                         = 0x054C,
    SMSG_QUEST_FORCE_REMOVED                          = 0x0504,
    SMSG_QUEST_GIVER_INVALID_QUEST                    = 0x0543,
    SMSG_QUEST_GIVER_OFFER_REWARD_MESSAGE             = 0x0547,
    SMSG_QUEST_GIVER_QUEST_COMPLETE                   = 0x004C,
    SMSG_QUEST_GIVER_QUEST_DETAILS                    = 0x0534,
    SMSG_QUEST_GIVER_QUEST_FAILED                     = 0x007F,
    SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE               = 0x0843,
    SMSG_QUEST_GIVER_REQUEST_ITEMS                    = 0x0528,
    SMSG_QUEST_GIVER_STATUS                           = 0x052F,
    SMSG_QUEST_GIVER_STATUS_MULTIPLE                  = 0x0814,
    SMSG_QUEST_LOG_FULL                               = 0x0508,
    SMSG_QUEST_POI_QUERY_RESPONSE                     = 0x051F,
    SMSG_QUEST_PUSH_RESULT                            = 0x007B,
    SMSG_QUEST_UPDATE_ADD_CREDIT                      = 0x006C,
    SMSG_QUEST_UPDATE_ADD_CREDIT_SIMPLE               = 0x0070,
    SMSG_QUEST_UPDATE_ADD_PVP_CREDIT                  = 0x005B,
    SMSG_QUEST_UPDATE_COMPLETE                        = 0x0480,
    SMSG_QUEST_UPDATE_FAILED                          = 0x0573,
    SMSG_QUEST_UPDATE_FAILED_TIMER                    = 0x0108,
    SMSG_RAF_EMAIL_ENABLED_RESPONSE                   = 0x0695,
    SMSG_RAID_DIFFICULTY_SET                          = 0x0E8B,
    SMSG_RAID_GROUP_ONLY                              = 0x1832,
    SMSG_RAID_INSTANCE_MESSAGE                        = 0x15CB,
    SMSG_RAID_MARKERS_CHANGED                         = 0x18F5,
    SMSG_RANDOM_ROLL                                  = 0x1240,
    SMSG_RATED_BATTLEFIELD_INFO                       = 0x0311,
    SMSG_READY_CHECK_COMPLETED                        = 0x0B35,
    SMSG_READY_CHECK_RESPONSE                         = 0x0DF6,
    SMSG_READY_CHECK_STARTED                          = 0x1618,
    SMSG_READ_ITEM_RESULT_FAILED                      = 0x1617,
    SMSG_READ_ITEM_RESULT_OK                          = 0x131E,
    SMSG_REALM_QUERY_RESPONSE                         = 0x0DF2,
    SMSG_REALM_SPLIT                                  = 0x1E8C,
    SMSG_RECRUIT_A_FRIEND_RESPONSE                    = 0x08F1,
    SMSG_REFER_A_FRIEND_EXPIRED                       = 0x0C25,
    SMSG_REFER_A_FRIEND_FAILURE                       = 0x0B98,
    SMSG_REFRESH_COMPONENT                            = 0x0E04,
    SMSG_REFRESH_SPELL_HISTORY                        = 0x153D,
    SMSG_REMOVE_ITEM_PASSIVE                          = 0x179D,
    SMSG_REMOVE_LOSS_OF_CONTROL                       = 0x0821,
    SMSG_REPLACE_TROPHY_RESPONSE                      = 0x19B2,
    SMSG_REPORT_PVP_PLAYER_AFK_RESULT                 = 0x12B2,
    SMSG_REQUEST_CEMETERY_LIST_RESPONSE               = 0x1398,
    SMSG_REQUEST_PVP_REWARDS_RESPONSE                 = 0x0218,
    SMSG_REQUEST_WOW_TOKEN_MARKET_PRICE_RESPONSE      = 0x1215,
    SMSG_RESEARCH_COMPLETE                            = 0x1335,
    SMSG_RESET_COMPRESSION_CONTEXT                    = 0x0059,
    SMSG_RESET_FAILED_NOTIFY                          = 0x040D,
    SMSG_RESET_RANGED_COMBAT_TIMER                    = 0x171F,
    SMSG_RESET_WEEKLY_CURRENCY                        = 0x18F2,
    SMSG_RESPEC_WIPE_CONFIRM                          = 0x1630,
    SMSG_RESPOND_INSPECT_ACHIEVEMENTS                 = 0x1A2E,
    SMSG_RESUME_CAST_BAR                              = 0x10F9,
    SMSG_RESUME_COMMS                                 = 0x003A,
    SMSG_RESUME_TOKEN                                 = 0x0E20,
    SMSG_RESURRECT_REQUEST                            = 0x0CF2,
    SMSG_RESYNC_RUNES                                 = 0x06BD,
    SMSG_ROLE_CHANGED_INFORM                          = 0x0F09,
    SMSG_ROLE_CHOSEN                                  = 0x0A9A,
    SMSG_ROLE_POLL_INFORM                             = 0x0EC0,
    SMSG_RUNE_REGEN_DEBUG                             = 0x0732,
    SMSG_SCENARIO_BOOT                                = 0x0212,
    SMSG_SCENARIO_COMPLETED                           = 0x1925,
    SMSG_SCENARIO_OUT_OF_BOUNDS                       = 0x16BD,
    SMSG_SCENARIO_PO_IS                               = 0x0CB2,
    SMSG_SCENARIO_PROGRESS_UPDATE                     = 0x1F89,
    SMSG_SCENARIO_STATE                               = 0x0E16,
    SMSG_SCENE_OBJECT_EVENT                           = 0x1DA5,
    SMSG_SCENE_OBJECT_PET_BATTLE_FINAL_ROUND          = 0x1792,
    SMSG_SCENE_OBJECT_PET_BATTLE_FINISHED             = 0x1610,
    SMSG_SCENE_OBJECT_PET_BATTLE_FIRST_ROUND          = 0x1611,
    SMSG_SCENE_OBJECT_PET_BATTLE_INITIAL_UPDATE       = 0x021E,
    SMSG_SCENE_OBJECT_PET_BATTLE_REPLACEMENTS_MADE    = 0x0A36,
    SMSG_SCENE_OBJECT_PET_BATTLE_ROUND_RESULT         = 0x1E84,
    SMSG_SCRIPT_CAST                                  = 0x106A,
    SMSG_SELL_RESPONSE                                = 0x133E,
    SMSG_SEND_ITEM_PASSIVES                           = 0x0CB6,
    SMSG_SEND_KNOWN_SPELLS                            = 0x109A,
    SMSG_SEND_RAID_TARGET_UPDATE_ALL                  = 0x1F84,
    SMSG_SEND_RAID_TARGET_UPDATE_SINGLE               = 0x1F0C,
    SMSG_SEND_SPELL_CHARGES                           = 0x187E,
    SMSG_SEND_SPELL_HISTORY                           = 0x142D,
    SMSG_SEND_UNLEARN_SPELLS                          = 0x155D,
    SMSG_SERVER_FIRST_ACHIEVEMENT                     = 0x11D0,
    SMSG_SERVER_FIRST_ACHIEVEMENTS                    = 0x0337,
    SMSG_SERVER_TIME                                  = 0x160D,
    SMSG_SETUP_CURRENCY                               = 0x1CE2,
    SMSG_SETUP_RESEARCH_HISTORY                       = 0x071F,
    SMSG_SET_AI_ANIM_KIT                              = 0x1295,
    SMSG_SET_ALL_TASK_PROGRESS                        = 0x0ABD,
    SMSG_SET_ANIM_TIER                                = 0x0317,
    SMSG_SET_CURRENCY                                 = 0x0336,
    SMSG_SET_DF_FAST_LAUNCH_RESULT                    = 0x0FBA,
    SMSG_SET_DUNGEON_DIFFICULTY                       = 0x19F2,
    SMSG_SET_FACTION_AT_WAR                           = 0x0F9D,
    SMSG_SET_FACTION_NOT_VISIBLE                      = 0x1217,
    SMSG_SET_FACTION_STANDING                         = 0x1210,
    SMSG_SET_FACTION_VISIBLE                          = 0x18A5,
    SMSG_SET_FLAT_SPELL_MODIFIER                      = 0x192A,
    SMSG_SET_FORCED_REACTIONS                         = 0x07BA,
    SMSG_SET_ITEM_PURCHASE_DATA                       = 0x179E,
    SMSG_SET_LFG_TIME_WALKER                          = 0x0A92,
    SMSG_SET_LOOT_METHOD_FAILED                       = 0x09B6,
    SMSG_SET_MAX_WEEKLY_QUANTITY                      = 0x0D31,
    SMSG_SET_MELEE_ANIM_KIT                           = 0x0BB5,
    SMSG_SET_MOVEMENT_ANIM_KIT                        = 0x0D25,
    SMSG_SET_PCT_SPELL_MODIFIER                       = 0x1DAA,
    SMSG_SET_PET_SPECIALIZATION                       = 0x1336,
    SMSG_SET_PLAYER_DECLINED_NAMES_RESULT             = 0x0CA2,
    SMSG_SET_PLAY_HOVER_ANIM                          = 0x0F9E,
    SMSG_SET_PROFICIENCY                              = 0x0D75,
    SMSG_SET_SPELL_CHARGES                            = 0x1909,
    SMSG_SET_TASK_COMPLETE                            = 0x0865,
    SMSG_SET_TIME_ZONE_INFORMATION                    = 0x073A,
    SMSG_SET_VEHICLE_REC_ID                           = 0x0F1F,
    SMSG_SHOW_BANK                                    = 0x179F,
    SMSG_SHOW_MAILBOX                                 = 0x1871,
    SMSG_SHOW_NEUTRAL_PLAYER_FACTION_SELECT_UI        = 0x0331,
    SMSG_SHOW_TAXI_NODES                              = 0x0FB8,
    SMSG_SHOW_TRADE_SKILL_RESPONSE                    = 0x1E0D,
    SMSG_SOCKET_GEMS                                  = 0x1DF6,
    SMSG_SOR_START_EXPERIENCE_INCOMPLETE              = 0x1640,
    SMSG_SPECIAL_MOUNT_ANIM                           = 0x1319,
    SMSG_SPELL_CHANNEL_START                          = 0x103E,
    SMSG_SPELL_CHANNEL_UPDATE                         = 0x10D9,
    SMSG_SPELL_COOLDOWN                               = 0x1D2A,
    SMSG_SPELL_DAMAGE_SHIELD                          = 0x10FE,
    SMSG_SPELL_DELAYED                                = 0x14FD,
    SMSG_SPELL_DISPELL_LOG                            = 0x10FD,
    SMSG_SPELL_ENERGIZE_LOG                           = 0x1C3D,
    SMSG_SPELL_EXECUTE_LOG                            = 0x1D9A,
    SMSG_SPELL_FAILED_OTHER                           = 0x10CE,
    SMSG_SPELL_FAILURE                                = 0x1CAD,
    SMSG_SPELL_GO                                     = 0x1CB9,
    SMSG_SPELL_HEAL_LOG                               = 0x155A,
    SMSG_SPELL_INSTAKILL_LOG                          = 0x11FE,
    SMSG_SPELL_INTERRUPT_LOG                          = 0x185E,
    SMSG_SPELL_MISS_LOG                               = 0x147A,
    SMSG_SPELL_MULTISTRIKE_EFFECT                     = 0x150A,
    SMSG_SPELL_NON_MELEE_DAMAGE_LOG                   = 0x141E,
    SMSG_SPELL_OR_DAMAGE_IMMUNE                       = 0x11B9,
    SMSG_SPELL_PERIODIC_AURA_LOG                      = 0x14E9,
    SMSG_SPELL_START                                  = 0x14BA,
    SMSG_SPELL_UPDATE_CHAIN_TARGETS                   = 0x1419,
    SMSG_SPIRIT_HEALER_CONFIRM                        = 0x1737,
    SMSG_STAND_STATE_UPDATE                           = 0x0B37,
    SMSG_START_ELAPSED_TIMER                          = 0x0E98,
    SMSG_START_ELAPSED_TIMERS                         = 0x063D,
    SMSG_START_LOOT_ROLL                              = 0x0831,
    SMSG_START_MIRROR_TIMER                           = 0x0861,
    SMSG_START_TIMER                                  = 0x1A2D,
    SMSG_STOP_ELAPSED_TIMER                           = 0x0795,
    SMSG_STOP_MIRROR_TIMER                            = 0x0BB6,
    SMSG_STOP_SPEAKERBOT_SOUND                        = 0x1E81,
    SMSG_STREAMING_MOVIES                             = 0x0DE6,
    SMSG_SUMMON_CANCEL                                = 0x1926,
    SMSG_SUMMON_RAID_MEMBER_VALIDATE_FAILED           = 0x08E5,
    SMSG_SUMMON_REQUEST                               = 0x1CE1,
    SMSG_SUPERCEDED_SPELLS                            = 0x15EA,
    SMSG_SUPPRESS_NPC_GREETINGS                       = 0x07A0,
    SMSG_SUSPEND_COMMS                                = 0x001E,
    SMSG_SUSPEND_TOKEN                                = 0x07BF,
    SMSG_TALENTS_INVOLUNTARILY_RESET                  = 0x1246,
    SMSG_TAXI_NODE_STATUS                             = 0x0EBF,
    SMSG_TEXT_EMOTE                                   = 0x0696,
    SMSG_THREAT_CLEAR                                 = 0x0F1D,
    SMSG_THREAT_REMOVE                                = 0x0BBE,
    SMSG_THREAT_UPDATE                                = 0x0AC0,
    SMSG_TIME_ADJUSTMENT                              = 0x06C8,
    SMSG_TIME_SYNC_REQUEST                            = 0x1E23,
    SMSG_TITLE_EARNED                                 = 0x1E03,
    SMSG_TITLE_LOST                                   = 0x03B2,
    SMSG_TOKEN_UNK1                                   = 0x1796,
    SMSG_TOTEM_CREATED                                = 0x0BB7,
    SMSG_TOTEM_MOVED                                  = 0x040E,
    SMSG_TRADE_STATUS                                 = 0x071A,
    SMSG_TRADE_UPDATED                                = 0x123F,
    SMSG_TRAINER_BUY_FAILED                           = 0x0876,
    SMSG_TRAINER_LIST                                 = 0x17B2,
    SMSG_TRANSFER_ABORTED                             = 0x1D31,
    SMSG_TRANSFER_PENDING                             = 0x03B8,
    SMSG_TRIGGER_CINEMATIC                            = 0x1CF6,
    SMSG_TRIGGER_MOVIE                                = 0x163A,
    SMSG_TURN_IN_PETITION_RESULT                      = 0x0A45,
    SMSG_TUTORIAL_FLAGS                               = 0x0E82,
    SMSG_TWITTER_STATUS                               = 0x0CBB,
    SMSG_UI_TIME                                      = 0x0DA1,
    SMSG_UNDELETE_CHARACTER_RESPONSE                  = 0x0CA5,
    SMSG_UNDELETE_COOLDOWN_STATUS_RESPONSE            = 0x0B9F,
    SMSG_UNLEARNED_SPELLS                             = 0x151E,
    SMSG_UPDATE_ACCOUNT_DATA                          = 0x1698,
    SMSG_UPDATE_ACTION_BUTTONS                        = 0x03C0,
    SMSG_UPDATE_CHARACTER_FLAGS                       = 0x171E,
    SMSG_UPDATE_DUNGEON_ENCOUNTER_FOR_LOOT            = 0x0B3A,
    SMSG_UPDATE_EXPANSION_LEVEL                       = 0x1236,
    SMSG_UPDATE_INSTANCE_OWNERSHIP                    = 0x12BF,
    SMSG_UPDATE_LAST_INSTANCE                         = 0x0971,
    SMSG_UPDATE_OBJECT                                = 0x1CB2,
    SMSG_UPDATE_TALENT_DATA                           = 0x1862,
    SMSG_UPDATE_TASK_PROGRESS                         = 0x1317,
    SMSG_UPDATE_WEEKLY_SPELL_USAGE                    = 0x103A,
    SMSG_UPDATE_WORLD_STATE                           = 0x1DF1,
    SMSG_UPDATE_WOW_TOKEN_AUCTIONABLE_LIST_RESPONSE   = 0x1836,
    SMSG_USERLIST_ADD                                 = 0x15F0,
    SMSG_USERLIST_REMOVE                              = 0x10E4,
    SMSG_USERLIST_UPDATE                              = 0x18EF,
    SMSG_USE_EQUIPMENT_SET_RESULT                     = 0x07B2,
    SMSG_VENDOR_INVENTORY                             = 0x0E40,
    SMSG_VIGNETTE_UPDATE                              = 0x1691,
    SMSG_VOICE_CHAT_STATUS                            = 0x10D0,
    SMSG_VOICE_PARENTAL_CONTROLS                      = 0x18E4,
    SMSG_VOICE_SESSION_LEAVE                          = 0x18EB,
    SMSG_VOICE_SESSION_ROSTER_UPDATE                  = 0x11C4,
    SMSG_VOID_ITEM_SWAP_RESPONSE                      = 0x08A5,
    SMSG_VOID_STORAGE_CONTENTS                        = 0x0F82,
    SMSG_VOID_STORAGE_FAILED                          = 0x1962,
    SMSG_VOID_STORAGE_TRANSFER_CHANGES                = 0x162F,
    SMSG_VOID_TRANSFER_RESULT                         = 0x0D66,
    SMSG_WAIT_QUEUE_FINISH                            = 0x163E,
    SMSG_WAIT_QUEUE_UPDATE                            = 0x0A18,
    SMSG_WARDEN_DATA                                  = 0x0E96,
    SMSG_WARGAME_REQUEST_SUCCESSFULLY_SENT_TO_OPPONENT = 0x0965,
    SMSG_WEATHER                                      = 0x0397,
    SMSG_WEEKLY_SPELL_USAGE                           = 0x1199,
    SMSG_WHO                                          = 0x11CC,
    SMSG_WHO_IS                                       = 0x0F20,
    SMSG_WORLD_SERVER_INFO                            = 0x0FB5,
    SMSG_WORLD_TEXT                                   = 0x1CB6,
    SMSG_XP_GAIN_ABORTED                              = 0x19F5,
    SMSG_XP_GAIN_ENABLED                              = 0x0EB7,
    SMSG_ZONE_UNDER_ATTACK                            = 0x14CF,

    // Deleted opcodes, here only to allow compile
    SMSG_ARENA_TEAM_STATS                             = 0xBADD,
    SMSG_BUY_BANK_SLOT_RESULT                         = 0xBADD,
};

inline bool IsInstanceOnlyOpcode(uint32 opcode)
{
    switch (opcode)
    {
        case SMSG_QUEST_GIVER_STATUS: // ClientQuest
        case SMSG_DUEL_REQUESTED: // Client
        case SMSG_DUEL_IN_BOUNDS: // Client
        case SMSG_QUERY_TIME_RESPONSE: // Client
        case SMSG_DUEL_WINNER: // Client
        case SMSG_DUEL_COMPLETE: // Client
        case SMSG_DUEL_OUT_OF_BOUNDS: // Client
        case SMSG_ATTACK_STOP: // Client
        case SMSG_ATTACK_START: // Client
        case SMSG_MOUNT_RESULT: // Client
            return true;
        default:
            return false;
    }
}

/// Player state
enum SessionStatus
{
    STATUS_AUTHED = 0,                                      // Player authenticated (_player == NULL, m_playerRecentlyLogout = false or will be reset before handler call, m_GUID have garbage)
    STATUS_LOGGEDIN,                                        // Player in game (_player != NULL, m_GUID == _player->GetGUID(), inWorld())
    STATUS_TRANSFER,                                        // Player transferring to another map (_player != NULL, m_GUID == _player->GetGUID(), !inWorld())
    STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT,                    // _player != NULL or _player == NULL && m_playerRecentlyLogout && m_playerLogout, m_GUID store last _player guid)
    STATUS_NEVER,                                           // Opcode not accepted from client (deprecated or server side only)
    STATUS_UNHANDLED                                        // Opcode not handled yet
};

enum PacketProcessing
{
    PROCESS_INPLACE = 0,                                    //process packet whenever we receive it - mostly for non-handled or non-implemented packets
    PROCESS_THREADUNSAFE,                                   //packet is not thread-safe - process it in World::UpdateSessions()
    PROCESS_THREADSAFE                                      //packet is thread-safe - process it in Map::Update()
};

class WorldPacket;
class WorldSession;

#pragma pack(push, 1)

class OpcodeHandler
{
public:
    OpcodeHandler(char const* name, SessionStatus status) : Name(name), Status(status) { }
    virtual ~OpcodeHandler() { }

    char const* Name;
    SessionStatus Status;
};

class ClientOpcodeHandler : public OpcodeHandler
{
public:
    ClientOpcodeHandler(char const* name, SessionStatus status, PacketProcessing processing)
        : OpcodeHandler(name, status), ProcessingPlace(processing) { }

    virtual void Call(WorldSession* session, WorldPacket& packet) const = 0;

    PacketProcessing ProcessingPlace;
};

class ServerOpcodeHandler : public OpcodeHandler
{
public:
    ServerOpcodeHandler(char const* name, SessionStatus status, ConnectionType conIdx)
        : OpcodeHandler(name, status), ConnectionIndex(conIdx) { }

    ConnectionType ConnectionIndex;
};

class OpcodeTable
{
    public:
        OpcodeTable()
        {
            memset(_internalTableClient, 0, sizeof(_internalTableClient));
            memset(_internalTableServer, 0, sizeof(_internalTableServer));
        }

        OpcodeTable(OpcodeTable const&) = delete;
        OpcodeTable& operator=(OpcodeTable const&) = delete;

        ~OpcodeTable()
        {
            for (uint16 i = 0; i < NUM_OPCODE_HANDLERS; ++i)
            {
                delete _internalTableClient[i];
                delete _internalTableServer[i];
            }
        }

        void Initialize();

        ClientOpcodeHandler const* operator[](OpcodeClient index) const
        {
            return _internalTableClient[index];
        }

        ServerOpcodeHandler const* operator[](OpcodeServer index) const
        {
            return _internalTableServer[index];
        }

    private:
        template<class PacketClass, void(WorldSession::*HandlerFunction)(PacketClass&)>
        void ValidateAndSetClientOpcode(OpcodeClient opcode, char const* name, SessionStatus status, PacketProcessing processing);

        void ValidateAndSetServerOpcode(OpcodeServer opcode, char const* name, SessionStatus status, ConnectionType conIdx);

        ClientOpcodeHandler* _internalTableClient[NUM_OPCODE_HANDLERS];
        ServerOpcodeHandler* _internalTableServer[NUM_OPCODE_HANDLERS];
};

extern OpcodeTable opcodeTable;

#pragma pack(pop)

void InitOpcodes();

/// Lookup opcode name for human understandable logging (T = OpcodeClient|OpcodeServer)
template<typename T>
inline std::string GetOpcodeNameForLogging(T id)
{
    uint32 opcode = uint32(id);
    std::ostringstream ss;
    ss << '[';

    if (static_cast<uint32>(id) < UNKNOWN_OPCODE)
    {
        if (OpcodeHandler const* handler = opcodeTable[T(opcode & 0x7FFF)])
            ss << handler->Name;
        else
            ss << "UNKNOWN OPCODE";
    }
    else
        ss << "INVALID OPCODE";

    ss << " 0x" << std::hex << std::setw(4) << std::setfill('0') << std::uppercase << opcode << std::nouppercase << std::dec << " (" << opcode << ")]";
    return ss.str();
}


#endif
/// @}

